x86/mm: Disallow running with 32-bit PTEs to work around erratum
[cascardo/linux.git] / arch / x86 / boot / cpu.c
index 29207f6..26240dd 100644 (file)
@@ -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;
        }