diff options
author | Jan Beulich <jbeulich@suse.com> | 2013-03-14 12:10:53 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-03-14 12:10:53 +0100 |
commit | 5dc3fd23f66e8f3ce6aaecdf51a1d968f1db2ae4 (patch) | |
tree | f28fb3f2f4bd417c931443ca6e3f3473982f7496 /xen/arch/x86/i8259.c | |
parent | 225a09cda45ab1f381fe30a9fab74a584effd66c (diff) | |
download | xen-5dc3fd23f66e8f3ce6aaecdf51a1d968f1db2ae4.tar.gz xen-5dc3fd23f66e8f3ce6aaecdf51a1d968f1db2ae4.tar.bz2 xen-5dc3fd23f66e8f3ce6aaecdf51a1d968f1db2ae4.zip |
x86: extend diagnostics for "No irq handler for vector" messages
By storing the inverted IRQ number in vector_irq[], we may be able to
spot which IRQ a vector was used for most recently, thus hopefully
permitting to understand why these messages trigger on certain systems.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/i8259.c')
-rw-r--r-- | xen/arch/x86/i8259.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/i8259.c b/xen/arch/x86/i8259.c index b45f596143..f637ecc891 100644 --- a/xen/arch/x86/i8259.c +++ b/xen/arch/x86/i8259.c @@ -165,7 +165,7 @@ static void _disable_8259A_irq(unsigned int irq) outb(cached_A1,0xA1); else outb(cached_21,0x21); - per_cpu(vector_irq, 0)[LEGACY_VECTOR(irq)] = -1; + per_cpu(vector_irq, 0)[LEGACY_VECTOR(irq)] = ~irq; spin_unlock_irqrestore(&i8259A_lock, flags); } |