Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
ipipe
Commits
4cbe668a
Commit
4cbe668a
authored
Feb 26, 2008
by
Ingo Molnar
Browse files
x86: clean up cpu capabilities accesses, common.c
Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
e1a94a97
Changes
1
Hide whitespace changes
Inline
Side-by-side
arch/x86/kernel/cpu/common.c
View file @
4cbe668a
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment