]> git.baikalelectronics.ru Git - kernel.git/commit
i386: Expose IOAPIC register definitions even if CONFIG_X86_IO_APIC is not set
authorAvi Kivity <avi@qumranet.com>
Thu, 27 Sep 2007 08:07:04 +0000 (10:07 +0200)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:17 +0000 (10:18 +0200)
commitaae2ab1ba6e0c155a0f3699a72035e7975761087
tree355cb6fe27a1b37715049cf7b0f924bb48f289c3
parenta87adcfeae40e4de82800f16e90e02a3a3611c1d
i386: Expose IOAPIC register definitions even if CONFIG_X86_IO_APIC is not set

KVM reuses the IOAPIC register definitions, and needs them even if the
host is not compiled with IOAPIC support.  Move the #ifdef below so that only
the IOAPIC variables and functions are protected, and the register definitions
are available to all.

Signed-off-by: Avi Kivity <avi@qumranet.com>
include/asm-x86/io_apic_32.h