aboutsummaryrefslogtreecommitdiff
path: root/website/static/security/patches/EN-22:07/la57.patch
diff options
context:
space:
mode:
Diffstat (limited to 'website/static/security/patches/EN-22:07/la57.patch')
-rw-r--r--website/static/security/patches/EN-22:07/la57.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/website/static/security/patches/EN-22:07/la57.patch b/website/static/security/patches/EN-22:07/la57.patch
new file mode 100644
index 0000000000..b424d4a185
--- /dev/null
+++ b/website/static/security/patches/EN-22:07/la57.patch
@@ -0,0 +1,12 @@
+--- sys/amd64/amd64/pmap.c.orig
++++ sys/amd64/amd64/pmap.c
+@@ -2015,8 +2015,7 @@
+
+ if ((cpu_stdext_feature2 & CPUID_STDEXT2_LA57) == 0)
+ return;
+- if (!TUNABLE_INT_FETCH("vm.pmap.la57", &la57))
+- la57 = 1;
++ TUNABLE_INT_FETCH("vm.pmap.la57", &la57);
+ if (!la57)
+ return;
+