Module Name:    xsrc
Committed By:   joerg
Date:           Wed Jun  2 00:33:22 UTC 2021

Modified Files:
        xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd:
            ppc_video.c

Log Message:
Provide canonical declaration of IOPortBase for MIPS here, too.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
    xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c
diff -u xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c:1.11 xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c:1.12
--- xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c:1.11	Tue Sep 27 19:10:47 2016
+++ xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c	Wed Jun  2 00:33:22 2021
@@ -59,7 +59,7 @@ xf86OSInitVidMem(VidMemInfoPtr pVidMem)
 volatile unsigned char *ioBase = MAP_FAILED;
 
 /* XXX why the hell is this necessary?! */
-#ifdef __arm__
+#if defined(__arm__) || defined(__mips__)
 unsigned int IOPortBase = (int)MAP_FAILED;
 #endif
 

Reply via email to