diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/sfi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kernel/sfi.c b/arch/x86/kernel/sfi.c index 761df3f759c1..b294b7a0d4b9 100644 --- a/arch/x86/kernel/sfi.c +++ b/arch/x86/kernel/sfi.c | |||
@@ -55,16 +55,12 @@ void __init mp_sfi_register_lapic_address(unsigned long address) | |||
55 | /* All CPUs enumerated by SFI must be present and enabled */ | 55 | /* All CPUs enumerated by SFI must be present and enabled */ |
56 | void __cpuinit mp_sfi_register_lapic(u8 id) | 56 | void __cpuinit mp_sfi_register_lapic(u8 id) |
57 | { | 57 | { |
58 | int boot_cpu = 0; | ||
59 | |||
60 | if (MAX_APICS - id <= 0) { | 58 | if (MAX_APICS - id <= 0) { |
61 | pr_warning("Processor #%d invalid (max %d)\n", | 59 | pr_warning("Processor #%d invalid (max %d)\n", |
62 | id, MAX_APICS); | 60 | id, MAX_APICS); |
63 | return; | 61 | return; |
64 | } | 62 | } |
65 | 63 | ||
66 | if (id == boot_cpu_physical_apicid) | ||
67 | boot_cpu = 1; | ||
68 | pr_info("registering lapic[%d]\n", id); | 64 | pr_info("registering lapic[%d]\n", id); |
69 | 65 | ||
70 | generic_processor_info(id, GET_APIC_VERSION(apic_read(APIC_LVR))); | 66 | generic_processor_info(id, GET_APIC_VERSION(apic_read(APIC_LVR))); |