summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/include/arch/ioapic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/include/arch/ioapic.h b/src/arch/x86/include/arch/ioapic.h
index 5d7e19649e..01fd753bfc 100644
--- a/src/arch/x86/include/arch/ioapic.h
+++ b/src/arch/x86/include/arch/ioapic.h
@@ -23,6 +23,7 @@
#define IO_APIC_ADDR 0xfec00000
#define IO_APIC_INTERRUPTS 24
+#ifndef __ACPI__
#define ALL (0xff << 24)
#define NONE (0)
#define DISABLED (1 << 16)
@@ -38,7 +39,6 @@
#define SMI (2 << 8)
#define INT (1 << 8)
-#ifndef __ACPI__
void setup_ioapic(u32 ioapic_base, u8 ioapic_id);
void clear_ioapic(u32 ioapic_base);
#endif