OSDN Git Service
(root)
/
android-x86
/
kernel.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
|
history
diff --git
a/arch/x86/kernel/cpu/common.c
b/arch/x86/kernel/cpu/common.c
index
bd111ce
..
57a46c3
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);