summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-07-22 10:59:02 -0400
committerKeith Packard <keithp@keithp.com>2014-07-28 12:18:26 -0700
commit80446086b9cfcc5e23a400d7fa38ec773fae68fc (patch)
tree5c43bce37b53765585c239d8e90d0716dd7e32c8
parent8002b1a8cb18ecc6526e8ebfd769767f8991ebd6 (diff)
xfree86: Undef FAKEIT
I guess this is meant to stub out all I/O port calls? Whatever, it's not been defined by the buildsystem at least as far back as monolith 6.8.2. Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--hw/xfree86/common/compiler.h40
1 files changed, 2 insertions, 38 deletions
diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h
index c786868ca..2794f4459 100644
--- a/hw/xfree86/common/compiler.h
+++ b/hw/xfree86/common/compiler.h
@@ -1117,7 +1117,7 @@ inl(unsigned PORT_SIZE port)
#else /* ix86 */
#if !defined(__SUNPRO_C)
-#if !defined(FAKEIT) && !defined(__mc68000__) && !defined(__arm__) && \
+#if !defined(__mc68000__) && !defined(__arm__) && \
!defined(__sh__) && !defined(__hppa__) && !defined(__s390__) && \
!defined(__m32r__) && !defined(__aarch64__) && !defined(__arc__) && \
!defined(__xtensa__)
@@ -1221,43 +1221,7 @@ inl(unsigned short port)
}
#endif /* GCCUSESGAS */
-
-#else /* !defined(FAKEIT) && !defined(__mc68000__) && !defined(__arm__) && !defined(__sh__) && !defined(__hppa__) && !defined(__m32r__) && !defined(__arc__) */
-
-static __inline__ void
-outb(unsigned short port, unsigned char val)
-{
-}
-
-static __inline__ void
-outw(unsigned short port, unsigned short val)
-{
-}
-
-static __inline__ void
-outl(unsigned short port, unsigned int val)
-{
-}
-
-static __inline__ unsigned int
-inb(unsigned short port)
-{
- return 0;
-}
-
-static __inline__ unsigned int
-inw(unsigned short port)
-{
- return 0;
-}
-
-static __inline__ unsigned int
-inl(unsigned short port)
-{
- return 0;
-}
-
-#endif /* FAKEIT */
+#endif
#endif /* __SUNPRO_C */
#endif /* ix86 */