citadel/meta/recipes-graphics/xorg-xserver/xserver-xorg/musl-arm-inb-outb.patch
brl 098b8f982b Squashed 'poky/' content from commit 4469acdf1d
git-subtree-dir: poky
git-subtree-split: 4469acdf1d0338220f3fe2ecb5e079eea6fda375
2017-12-04 16:35:29 -05:00

19 lines
717 B
Diff

inb/outb family for arm is only implemented on glibc
so assumption across linux is wrong
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Pending
Index: xorg-server-1.18.0/hw/xfree86/common/compiler.h
===================================================================
--- xorg-server-1.18.0.orig/hw/xfree86/common/compiler.h
+++ xorg-server-1.18.0/hw/xfree86/common/compiler.h
@@ -758,7 +758,7 @@ inl(unsigned short port)
return xf86ReadMmio32Le((void *) ioBase, port);
}
-#elif defined(__arm__) && defined(__linux__)
+#elif defined(__arm__) && defined(__GLIBC__)
/* for Linux on ARM, we use the LIBC inx/outx routines */
/* note that the appropriate setup via "ioperm" needs to be done */