Skip to content

Commit

Permalink
x86, apic: make generic_apic_probe() generally available
Browse files Browse the repository at this point in the history
Impact: build fix

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Feb 11, 2009
1 parent d5b5a23 commit 160d8da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions arch/x86/include/asm/apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@
} while (0)


#if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86_32)
extern void generic_apic_probe(void);
#else
static inline void generic_apic_probe(void)
{
}
#endif

#ifdef CONFIG_X86_LOCAL_APIC

Expand Down
2 changes: 0 additions & 2 deletions arch/x86/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -936,9 +936,7 @@ void __init setup_arch(char **cmdline_p)
map_vsyscall();
#endif

#ifdef CONFIG_X86_32
generic_apic_probe();
#endif

early_quirks();

Expand Down

0 comments on commit 160d8da

Please sign in to comment.