forked from Minki/linux
[PATCH] x86-64: Fix the apic version that gets printed during boot
Signed-off-by: Suresh Sidda <suresh.b.siddha@intel.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
0b07e984fc
commit
8675b1a454
@ -705,7 +705,7 @@ void __init mp_register_lapic (
|
||||
|
||||
processor.mpc_type = MP_PROCESSOR;
|
||||
processor.mpc_apicid = id;
|
||||
processor.mpc_apicver = 0x10; /* TBD: lapic version */
|
||||
processor.mpc_apicver = GET_APIC_VERSION(apic_read(APIC_LVR));
|
||||
processor.mpc_cpuflag = (enabled ? CPU_ENABLED : 0);
|
||||
processor.mpc_cpuflag |= (boot_cpu ? CPU_BOOTPROCESSOR : 0);
|
||||
processor.mpc_cpufeature = (boot_cpu_data.x86 << 8) |
|
||||
|
Loading…
Reference in New Issue
Block a user