x86: fix lguest used_vectors breakage, -v2
authorYinghai Lu <yinghai@kernel.org>
Fri, 19 Dec 2008 23:23:44 +0000 (15:23 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 23 Dec 2008 21:37:28 +0000 (22:37 +0100)
commitb77b881f21b29aa7efa668fde69ee3dc0372ae3f
treea4039161e9bcab3e9c2fd2e2aa70fee16103857b
parenta7883dece6ef82097e6bdf19c1d0a20351e06056
x86: fix lguest used_vectors breakage, -v2

Impact: fix lguest, clean up

32-bit lguest used used_vectors to record vectors, but that model of
allocating vectors changed and got broken, after we changed vector
allocation to a per_cpu array.

Try enable that for 64bit, and the array is used for all vectors that
are not managed by vector_irq per_cpu array.

Also kill system_vectors[], that is now a duplication of the
used_vectors bitmap.

[ merged in cpus4096 due to io_apic.c cpumask changes. ]
[ -v2, fix build failure ]

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/desc.h
arch/x86/include/asm/irq.h
arch/x86/kernel/apic.c
arch/x86/kernel/io_apic.c
arch/x86/kernel/irqinit_32.c
arch/x86/kernel/irqinit_64.c
arch/x86/kernel/traps.c
drivers/lguest/interrupts_and_traps.c