projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/mm: Disallow running with 32-bit PTEs to work around erratum
[cascardo/linux.git]
/
arch
/
x86
/
boot
/
cpuflags.c
diff --git
a/arch/x86/boot/cpuflags.c
b/arch/x86/boot/cpuflags.c
index
431fa5f
..
6687ab9
100644
(file)
--- a/
arch/x86/boot/cpuflags.c
+++ b/
arch/x86/boot/cpuflags.c
@@
-102,6
+102,7
@@
void get_cpuflags(void)
cpuid(0x1, &tfms, &ignored, &cpu.flags[4],
&cpu.flags[0]);
cpu.level = (tfms >> 8) & 15;
+ cpu.family = cpu.level;
cpu.model = (tfms >> 4) & 15;
if (cpu.level >= 6)
cpu.model += ((tfms >> 16) & 0xf) << 4;