Differential D9436 Diff 24721 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
- This file was moved from x11-servers/xorg-server/files/extra-arch-powerpc.
--- hw/xfree86/os-support/bsd/ppc_video.c.orig 2015-06-05 17:19:40.000000000 +0200 | --- hw/xfree86/os-support/bsd/ppc_video.c.orig 2016-07-15 16:18:11 UTC | ||||
+++ hw/xfree86/os-support/bsd/ppc_video.c 2015-10-12 15:23:47.470110000 +0200 | +++ hw/xfree86/os-support/bsd/ppc_video.c | ||||
@@ -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; | ||||
} | } | ||||
} | } |