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)
commit81fe96bde7db24c02adf245604f073ea9e8d941a
tree355cb6fe27a1b37715049cf7b0f924bb48f289c3
parent752097cec53eea111d087c545179b421e2bde98a
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