5a8cfd1
--- xorg-server-1.3.0.0/hw/xfree86/common/xf86Bus.c.arm	2007-02-17 20:37:56.000000000 -0500
5a8cfd1
+++ xorg-server-1.3.0.0/hw/xfree86/common/xf86Bus.c	2007-06-04 11:33:14.000000000 -0400
5a8cfd1
@@ -3006,7 +3006,7 @@
5a8cfd1
     
5a8cfd1
 }
5a8cfd1
 
5a8cfd1
-#if !defined(__sparc) && !defined(__sparc__) && !defined(__powerpc__) && !defined(__mips__)
5a8cfd1
+#if !defined(__sparc) && !defined(__sparc__) && !defined(__powerpc__) && !defined(__mips__) && !defined(__arm__)
5a8cfd1
 #include "vgaHW.h"
5a8cfd1
 #include "compiler.h"
5a8cfd1
 #endif
5a8cfd1
@@ -3018,7 +3018,7 @@
5a8cfd1
 CheckGenericGA()
5a8cfd1
 {
5a8cfd1
 /* This needs to be changed for multiple domains */
5a8cfd1
-#if !defined(__sparc__) && !defined(__sparc) && !defined(__powerpc__) && !defined(__mips__) && !defined(__ia64__) && !defined(__arm__) && !defined(__s390__)
5a8cfd1
+#if !defined(__sparc__) && !defined(__sparc) && !defined(__powerpc__) && !defined(__mips__) && !defined(__ia64__) && !defined(__arm__) && !defined(__s390__) && !defined(__arm__)
5a8cfd1
     IOADDRESS GenericIOBase = VGAHW_GET_IOBASE();
5a8cfd1
     CARD8 CurrentValue, TestValue;
5a8cfd1
 
5a8cfd1
--- xorg-server-1.3.0.0/hw/xfree86/os-support/linux/lnx_video.c.arm	2006-09-18 02:04:18.000000000 -0400
5a8cfd1
+++ xorg-server-1.3.0.0/hw/xfree86/os-support/linux/lnx_video.c	2007-06-04 11:35:21.000000000 -0400
5a8cfd1
@@ -62,7 +62,8 @@
5a8cfd1
 #elif !defined(__powerpc__) && \
5a8cfd1
       !defined(__mc68000__) && \
5a8cfd1
       !defined(__sparc__) && \
5a8cfd1
-      !defined(__mips__)
5a8cfd1
+      !defined(__mips__) && \
5a8cfd1
+      !defined(__arm__)
5a8cfd1
 
5a8cfd1
 /*
5a8cfd1
  * Due to conflicts with "compiler.h", don't rely on <sys/io.h> to declare
5a8cfd1
@@ -567,7 +568,7 @@
5a8cfd1
 #endif
5a8cfd1
 	}
5a8cfd1
 	close(fd);
5a8cfd1
-#elif !defined(__mc68000__) && !defined(__sparc__) && !defined(__mips__) && !defined(__sh__) && !defined(__hppa__)
5a8cfd1
+#elif !defined(__mc68000__) && !defined(__sparc__) && !defined(__mips__) && !defined(__sh__) && !defined(__hppa__) && !defined(__arm__)
5a8cfd1
         if (ioperm(0, 1024, 1) || iopl(3)) {
5a8cfd1
                 if (errno == ENODEV)
5a8cfd1
                         ErrorF("xf86EnableIOPorts: no I/O ports found\n");
5a8cfd1
--- xorg-server-1.3.0.0/hw/xfree86/os-support/misc/SlowBcopy.c.arm	2006-09-18 02:04:18.000000000 -0400
5a8cfd1
+++ xorg-server-1.3.0.0/hw/xfree86/os-support/misc/SlowBcopy.c	2007-06-04 11:31:28.000000000 -0400
5a8cfd1
@@ -35,7 +35,8 @@
5a8cfd1
 #if !defined(__sparc__) && \
5a8cfd1
     !defined(__powerpc__) && \
5a8cfd1
     !defined(__mips__) && \
5a8cfd1
-    !defined(__ia64__)
5a8cfd1
+    !defined(__ia64__) && \
5a8cfd1
+    !defined(__arm__)
5a8cfd1
 	outb(0x80, 0x00);
5a8cfd1
 #endif
5a8cfd1
     }