Differential D35661 Diff 108629 x11-servers/xorg-server/files/patch-hw_xfree86_os-support_bsd_ppc__video.c
Changeset View
Changeset View
Standalone View
Standalone View
x11-servers/xorg-server/files/patch-hw_xfree86_os-support_bsd_ppc__video.c
--- hw/xfree86/os-support/bsd/ppc_video.c.orig 2016-07-15 16:18:11 UTC | --- hw/xfree86/os-support/bsd/ppc_video.c.orig 2022-01-02 23:41:56.000000000 +0100 | ||||
+++ hw/xfree86/os-support/bsd/ppc_video.c | +++ hw/xfree86/os-support/bsd/ppc_video.c 2022-06-29 11:57:25.691481000 +0200 | ||||
@@ -79,7 +79,11 @@ xf86DisableIO() | @@ -79,7 +79,11 @@ xf86DisableIO() | ||||
{ | { | ||||
if (ioBase != MAP_FAILED) { | if (ioBase != MAP_FAILED) { | ||||
+#if defined(__FreeBSD__) | +#if defined(__FreeBSD__) | ||||
+ munmap(__DEVOLATILE(unsigned char *, ioBase), 0x10000); | + munmap(__DEVOLATILE(unsigned char *, ioBase), 0x10000); | ||||
+#else | +#else | ||||
munmap(__UNVOLATILE(ioBase), 0x10000); | munmap(__UNVOLATILE(ioBase), 0x10000); | ||||
+#endif | +#endif | ||||
ioBase = MAP_FAILED; | ioBase = MAP_FAILED; | ||||
} | } | ||||
} | } |