Skip to content

Commit

Permalink
[PATCH] x86-64: Fix the apic version that gets printed during boot
Browse files Browse the repository at this point in the history
Signed-off-by: Suresh Sidda <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Sep 12, 2005
1 parent 0b07e98 commit 8675b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86_64/kernel/mpparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
Expand Down

0 comments on commit 8675b1a

Please sign in to comment.