diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-09 07:07:23 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-10 02:09:08 -0400 |
commit | 4fb3dc2729c22ed1b023475fe28b720460251de1 (patch) | |
tree | c6d7a5905654b7fafcee4e54b48bb64f19eb2169 /include | |
parent | ad2fc2cd925300b8127cf682f5a1c7511ae9dd27 (diff) |
x86: build fix for "x86: fix C1E && nx6325 stability problem"
fix:
arch/x86/kernel/built-in.o: In function `dmi_ignore_irq0_timer_override':
boot.c:(.init.text+0x3ea4): undefined reference to `force_mask_ioapic_irq_2'
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/genapic_32.h | 4 | ||||
-rw-r--r-- | include/asm-x86/genapic_64.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-x86/genapic_32.h b/include/asm-x86/genapic_32.h index 8d4c8bdb9065..33a73f5ed222 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}; | |||
119 | #define is_uv_system() 0 | 119 | #define is_uv_system() 0 |
120 | #define uv_wakeup_secondary(a, b) 1 | 120 | #define uv_wakeup_secondary(a, b) 1 |
121 | 121 | ||
122 | #ifdef CONFIG_X86_IO_APIC | ||
122 | extern void force_mask_ioapic_irq_2(void); | 123 | extern void force_mask_ioapic_irq_2(void); |
124 | #else | ||
125 | static inline void force_mask_ioapic_irq_2(void) { } | ||
126 | #endif | ||
123 | 127 | ||
124 | #endif | 128 | #endif |
diff --git a/include/asm-x86/genapic_64.h b/include/asm-x86/genapic_64.h index 082ad020e412..647e4e5c2580 100644 --- a/include/asm-x86/genapic_64.h +++ b/include/asm-x86/genapic_64.h | |||
@@ -46,6 +46,10 @@ extern int uv_wakeup_secondary(int phys_apicid, unsigned int start_rip); | |||
46 | 46 | ||
47 | extern void setup_apic_routing(void); | 47 | extern void setup_apic_routing(void); |
48 | 48 | ||
49 | #ifdef CONFIG_X86_IO_APIC | ||
49 | extern void force_mask_ioapic_irq_2(void); | 50 | extern void force_mask_ioapic_irq_2(void); |
51 | #else | ||
52 | static inline void force_mask_ioapic_irq_2(void) { } | ||
53 | #endif | ||
50 | 54 | ||
51 | #endif | 55 | #endif |