summarylogtreecommitdiffstats
path: root/vmmon.patch
diff options
context:
space:
mode:
authorJean-Marc Lenoir2020-03-13 20:15:31 +0100
committerJean-Marc Lenoir2020-03-13 20:15:31 +0100
commit33379f2ada4244215ed4cd83f68e143f6980325d (patch)
treeb4383892b3462da655fe264e49389ae11874112a /vmmon.patch
parent1adb99d37b092d344b05501c6d8956a1700092e5 (diff)
downloadaur-33379f2ada4244215ed4cd83f68e143f6980325d.tar.gz
Compatibility with Linux 5.6
Diffstat (limited to 'vmmon.patch')
-rw-r--r--vmmon.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/vmmon.patch b/vmmon.patch
index e4cbb6f4b56..0d515e71750 100644
--- a/vmmon.patch
+++ b/vmmon.patch
@@ -177,6 +177,15 @@
r = APICR_TO_ADDR(r, APICR_VERSION);
ret = HostIF_CopyFromUser(&dummy, r, sizeof dummy);
set_fs(old_fs);
+@@ -2197,7 +2240,7 @@
+ volatile void *hostapic;
+
+ ASSERT_ON_COMPILE(APICR_SIZE <= PAGE_SIZE);
+- hostapic = (volatile void *) ioremap_nocache(ma, PAGE_SIZE);
++ hostapic = (volatile void *) ioremap(ma, PAGE_SIZE);
+ if (hostapic) {
+ if ((APIC_VERSIONREG(hostapic) & 0xF0) == 0x10) {
+ vm->hostAPIC.base = (volatile uint32 (*)[4]) hostapic;
@@ -2365,7 +2408,7 @@ HostIF_SemaphoreWait(VMDriver *vm, // IN:
}