aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/genapic_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/genapic_32.h')
-rw-r--r--include/asm-x86/genapic_32.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86/genapic_32.h b/include/asm-x86/genapic_32.h
index 8d4c8bdb906..33a73f5ed22 100644
--- a/include/asm-x86/genapic_32.h
+++ b/include/asm-x86/genapic_32.h
@@ -119,6 +119,10 @@ enum uv_system_type {UV_NONE, UV_LEGACY_APIC, UV_X2APIC, UV_NON_UNIQUE_APIC};
#define is_uv_system() 0
#define uv_wakeup_secondary(a, b) 1
+#ifdef CONFIG_X86_IO_APIC
extern void force_mask_ioapic_irq_2(void);
+#else
+static inline void force_mask_ioapic_irq_2(void) { }
+#endif
#endif