Commit 4cbe668a authored by Ingo Molnar's avatar Ingo Molnar

x86: clean up cpu capabilities accesses, common.c

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent e1a94a97
...@@ -409,7 +409,7 @@ static void __cpuinit squash_the_stupid_serial_number(struct cpuinfo_x86 *c) ...@@ -409,7 +409,7 @@ static void __cpuinit squash_the_stupid_serial_number(struct cpuinfo_x86 *c)
lo |= 0x200000; lo |= 0x200000;
wrmsr(MSR_IA32_BBL_CR_CTL, lo, hi); wrmsr(MSR_IA32_BBL_CR_CTL, lo, hi);
printk(KERN_NOTICE "CPU serial number disabled.\n"); printk(KERN_NOTICE "CPU serial number disabled.\n");
clear_bit(X86_FEATURE_PN, c->x86_capability); clear_cpu_cap(c, X86_FEATURE_PN);
/* Disabling the serial number may affect the cpuid level */ /* Disabling the serial number may affect the cpuid level */
c->cpuid_level = cpuid_eax(0); c->cpuid_level = cpuid_eax(0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment