sfi: Remove unused code
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
5f0db7a2fb
commit
8079ce34f2
1 changed files with 0 additions and 4 deletions
|
@ -55,16 +55,12 @@ void __init mp_sfi_register_lapic_address(unsigned long address)
|
||||||
/* All CPUs enumerated by SFI must be present and enabled */
|
/* All CPUs enumerated by SFI must be present and enabled */
|
||||||
void __cpuinit mp_sfi_register_lapic(u8 id)
|
void __cpuinit mp_sfi_register_lapic(u8 id)
|
||||||
{
|
{
|
||||||
int boot_cpu = 0;
|
|
||||||
|
|
||||||
if (MAX_APICS - id <= 0) {
|
if (MAX_APICS - id <= 0) {
|
||||||
pr_warning("Processor #%d invalid (max %d)\n",
|
pr_warning("Processor #%d invalid (max %d)\n",
|
||||||
id, MAX_APICS);
|
id, MAX_APICS);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (id == boot_cpu_physical_apicid)
|
|
||||||
boot_cpu = 1;
|
|
||||||
pr_info("registering lapic[%d]\n", id);
|
pr_info("registering lapic[%d]\n", id);
|
||||||
|
|
||||||
generic_processor_info(id, GET_APIC_VERSION(apic_read(APIC_LVR)));
|
generic_processor_info(id, GET_APIC_VERSION(apic_read(APIC_LVR)));
|
||||||
|
|
Loading…
Add table
Reference in a new issue