]> err.no Git - linux-2.6/commitdiff
x86: clean up cpu capabilities accesses, common.c
authorIngo Molnar <mingo@elte.hu>
Tue, 26 Feb 2008 07:51:32 +0000 (08:51 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:51 +0000 (17:40 +0200)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/common.c

index bd111ce8f605a27e53823acff08346545d62a6a8..57a46c36fa2399e5a6fa3af67dc57c6489de51f0 100644 (file)
@@ -409,7 +409,7 @@ static void __cpuinit squash_the_stupid_serial_number(struct cpuinfo_x86 *c)
                lo |= 0x200000;
                wrmsr(MSR_IA32_BBL_CR_CTL, lo, hi);
                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 */
                c->cpuid_level = cpuid_eax(0);