diff options
-rw-r--r-- | arch/x86/include/asm/apic.h | 6 | ||||
-rw-r--r-- | arch/x86/kernel/setup.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h index f4835a1be360..fba49f66228f 100644 --- a/arch/x86/include/asm/apic.h +++ b/arch/x86/include/asm/apic.h | |||
@@ -33,7 +33,13 @@ | |||
33 | } while (0) | 33 | } while (0) |
34 | 34 | ||
35 | 35 | ||
36 | #if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86_32) | ||
36 | extern void generic_apic_probe(void); | 37 | extern void generic_apic_probe(void); |
38 | #else | ||
39 | static inline void generic_apic_probe(void) | ||
40 | { | ||
41 | } | ||
42 | #endif | ||
37 | 43 | ||
38 | #ifdef CONFIG_X86_LOCAL_APIC | 44 | #ifdef CONFIG_X86_LOCAL_APIC |
39 | 45 | ||
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 150e6d0a3b47..8fce6c714514 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -936,9 +936,7 @@ void __init setup_arch(char **cmdline_p) | |||
936 | map_vsyscall(); | 936 | map_vsyscall(); |
937 | #endif | 937 | #endif |
938 | 938 | ||
939 | #ifdef CONFIG_X86_32 | ||
940 | generic_apic_probe(); | 939 | generic_apic_probe(); |
941 | #endif | ||
942 | 940 | ||
943 | early_quirks(); | 941 | early_quirks(); |
944 | 942 | ||