xen: Fix bug `do_IRQ: cannot handle IRQ -1 vector 0x6 cpu 1'
authorAlex Nixon <alex.nixon@citrix.com>
Tue, 19 Aug 2008 05:17:08 +0000 (22:17 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:52:58 +0000 (16:52 +0200)
commitbf9d3cf73e8caf0b3ae0b7f508a9f251536f5ff4
tree957187a65bbc2e1292ce92e402c713b1454968c3
parente7f5ed8d6e921c6200ce5e2549a86db629f2dd11
xen: Fix bug `do_IRQ: cannot handle IRQ -1 vector 0x6 cpu 1'

Following commit 9c3f2468d8339866d9ef6a25aae31a8909c6be0d, do_IRQ()
looks up the IRQ number in the per-cpu variable vector_irq.

This commit makes Xen initialise an identity vector_irq map for both X86_32 and X86_64.

Signed-off-by: Alex Nixon <alex.nixon@citrix.com>
Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/xen/irq.c