projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a94a9
)
x86: clean up cpu capabilities accesses, common.c
author
Ingo Molnar
<mingo@elte.hu>
Tue, 26 Feb 2008 07:51:32 +0000
(08:51 +0100)
committer
Ingo 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/cpu/common.c
b/arch/x86/kernel/cpu/common.c
index bd111ce8f605a27e53823acff08346545d62a6a8..57a46c36fa2399e5a6fa3af67dc57c6489de51f0 100644
(file)
--- 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);