Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd Pr...



details:   https://anonhg.NetBSD.org/xsrc/rev/c009975fbc78
branches:  trunk
changeset: 10734:c009975fbc78
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Jun 02 00:33:22 2021 +0000

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

diffstat:

 external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r eea8b8bf563b -r c009975fbc78 external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c
--- a/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c       Mon May 31 21:44:19 2021 +0000
+++ b/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c       Wed Jun 02 00:33:22 2021 +0000
@@ -59,7 +59,7 @@
 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
 



Home | Main Index | Thread Index | Old Index