From: Ingo Molnar Date: Tue, 26 Feb 2008 07:51:32 +0000 (+0100) Subject: x86: clean up cpu capabilities accesses, common.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4cbe668add030a35e0592a9bb292e0f2a1bcea88;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git x86: clean up cpu capabilities accesses, common.c Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index bd111ce8f605..57a46c36fa23 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -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);