diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-02-25 21:20:50 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-26 06:40:06 +0100 |
commit | 129d8bc828e011bda0b7110a097bf3a0167f966e (patch) | |
tree | 5f3f2abec57b177dfecada06b652c68f9a0640d2 /arch/x86/include/asm/apic.h | |
parent | 2b6163bf5772644068694583816fa41e8474239f (diff) | |
download | linux-stable-129d8bc828e011bda0b7110a097bf3a0167f966e.tar.gz linux-stable-129d8bc828e011bda0b7110a097bf3a0167f966e.tar.bz2 linux-stable-129d8bc828e011bda0b7110a097bf3a0167f966e.zip |
x86: don't compile vsmp_64 for 32bit
Impact: cleanup
that is only needed when CONFIG_X86_VSMP is defined with 64bit
also remove dead code about PCI, because CONFIG_X86_VSMP depends on PCI
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/apic.h')
-rw-r--r-- | arch/x86/include/asm/apic.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h index 860504178e94..24e21273e30b 100644 --- a/arch/x86/include/asm/apic.h +++ b/arch/x86/include/asm/apic.h @@ -75,7 +75,14 @@ static inline void default_inquire_remote_apic(int apicid) #define setup_secondary_clock setup_secondary_APIC_clock #endif +#ifdef CONFIG_X86_VSMP extern int is_vsmp_box(void); +#else +static inline int is_vsmp_box(void) +{ + return 0; +} +#endif extern void xapic_wait_icr_idle(void); extern u32 safe_xapic_wait_icr_idle(void); extern void xapic_icr_write(u32, u32); |