Commit 160d8dac authored by Ingo Molnar's avatar Ingo Molnar

x86, apic: make generic_apic_probe() generally available

Impact: build fix
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent d5b5a232
...@@ -33,7 +33,13 @@ ...@@ -33,7 +33,13 @@
} while (0) } while (0)
#if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86_32)
extern void generic_apic_probe(void); extern void generic_apic_probe(void);
#else
static inline void generic_apic_probe(void)
{
}
#endif
#ifdef CONFIG_X86_LOCAL_APIC #ifdef CONFIG_X86_LOCAL_APIC
......
...@@ -936,9 +936,7 @@ void __init setup_arch(char **cmdline_p) ...@@ -936,9 +936,7 @@ void __init setup_arch(char **cmdline_p)
map_vsyscall(); map_vsyscall();
#endif #endif
#ifdef CONFIG_X86_32
generic_apic_probe(); generic_apic_probe();
#endif
early_quirks(); early_quirks();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment