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
/
cpu.c
diff --git
a/arch/x86/boot/cpu.c
b/arch/x86/boot/cpu.c
index
29207f6
..
26240dd
100644
(file)
--- a/
arch/x86/boot/cpu.c
+++ b/
arch/x86/boot/cpu.c
@@
-93,6
+93,8
@@
int validate_cpu(void)
show_cap_strs(err_flags);
putchar('\n');
return -1;
+ } else if (check_knl_erratum()) {
+ return -1;
} else {
return 0;
}