]> err.no Git - linux-2.6/commit
i386: introduce "used_vectors" bitmap which can be used to reserve vectors.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 19 Oct 2007 18:35:03 +0000 (20:35 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 19 Oct 2007 18:35:03 +0000 (20:35 +0200)
commitdbeb2be21d678c49a8d8bbf774903df15dd55474
treecea1b478ec3af36134aa06633be1a45787f35f75
parent39743c9ef717fd4f2b5583f010115c5f2482b8ae
i386: introduce "used_vectors" bitmap which can be used to reserve vectors.

This simplifies the io_apic.c __assign_irq_vector() logic and removes
the explicit SYSCALL_VECTOR check, and also allows for vectors to be
reserved by other mechanisms (ie. lguest).

[ tglx: arch/x86 adaptation ]

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/i8259_32.c
arch/x86/kernel/io_apic_32.c
arch/x86/kernel/traps_32.c
include/asm-x86/irq_32.h