]> git.baikalelectronics.ru Git - kernel.git/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)
commitce1b3ce678a6c9d3cba36e2d2cc239c8cd85870e
treecea1b478ec3af36134aa06633be1a45787f35f75
parent54115833c660b31f9c744277b7e39ed4f7476917
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