diff options
author | Jean-Marc Lenoir | 2023-08-12 15:58:11 +0200 |
---|---|---|
committer | Jean-Marc Lenoir | 2023-08-12 15:58:11 +0200 |
commit | 38aefe99bd5b32bc403c948b08df5b444dbbc7ff (patch) | |
tree | 24ad09113f2161037db81b1ef1a5b313bcf727f7 /vmmon.patch | |
parent | 631830cf370204edf09b1de9fffd48ad7927277c (diff) | |
download | aur-38aefe99bd5b32bc403c948b08df5b444dbbc7ff.tar.gz |
Compatibility with Linux 6.4.10 and 6.5-rc5
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; |