summarylogtreecommitdiffstats
path: root/vmmon.patch
diff options
context:
space:
mode:
authorJean-Marc Lenoir2023-08-12 15:57:43 +0200
committerJean-Marc Lenoir2023-08-12 15:57:43 +0200
commit86d1d0623e4d06db0548658ce566226327e0faaf (patch)
treeaecf90b87bca80f60fca64d904cb6f05a0cba25d /vmmon.patch
parenta3cec4e4b258ec334f330cbae173e676c40c616e (diff)
downloadaur-86d1d0623e4d06db0548658ce566226327e0faaf.tar.gz
Compatibility with Linux 6.4.10 and 6.5-rc5
Diffstat (limited to 'vmmon.patch')
-rw-r--r--vmmon.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/vmmon.patch b/vmmon.patch
index 210cc9d56149..e913e82f5239 100644
--- a/vmmon.patch
+++ b/vmmon.patch
@@ -1875,3 +1875,15 @@
break;
}
+Patch taken from https://raw.githubusercontent.com/jeffersonchua/linux-6.5.0/main/patch-17.0.2-6.5.0
+--- a/vmmon/include/pgtbl.h
++++ b/vmmon/include/pgtbl.h
+@@ -91,7 +91,7 @@
+ } else {
+ pte_t *pte;
+
+- pte = pte_offset_map(pmd, addr);
++ pte = pte_offset_kernel(pmd, addr);
+ if (pte_present(*pte) == 0) {
+ pte_unmap(pte);
+ return INVALID_MPN;