diff options
Diffstat (limited to 'vmmon.patch')
-rw-r--r-- | vmmon.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vmmon.patch b/vmmon.patch index f2e32d6d0270..906c33906d39 100644 --- a/vmmon.patch +++ b/vmmon.patch @@ -12,3 +12,15 @@ # Header directory for the running kernel ifdef LINUXINCLUDE +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; |