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>
This commit is contained in:
@@ -64,7 +64,11 @@ extern void x86_quirk_time_init(void);
|
||||
#include <asm/bootparam.h>
|
||||
|
||||
/* Interrupt control for vSMPowered x86_64 systems */
|
||||
#ifdef CONFIG_X86_VSMP
|
||||
void vsmp_init(void);
|
||||
#else
|
||||
static inline void vsmp_init(void) { }
|
||||
#endif
|
||||
|
||||
void setup_bios_corruption_check(void);
|
||||
|
||||
|
Reference in New Issue
Block a user