summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2011-09-13 14:31:24 -0500
committerJamey Sharp <jamey@minilop.net>2011-09-15 10:07:11 -0500
commit60b4bd181bbdc794c7f3547f67df916132aa111e (patch)
treeee776db40af1011637ce2be82b530048af3b47b0 /hw
parent0caeef6146bee5fb1827ab25db191685dde9d4b4 (diff)
x86emu: There is no NO_INLINE implementation of unaligned access here.
Patch produced with: unifdef -UNO_INLINE -B This change isn't relevant to the similar code in hw/xfree86/common/compiler.h, because x86emu is expected to someday move out of xserver entirely and so should not depend on any xserver headers. Also, some platforms apparently do have NO_INLINE versions of compiler.h. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/x86emu/sys.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/xfree86/x86emu/sys.c b/hw/xfree86/x86emu/sys.c
index 602b0bbee..f389767f1 100644
--- a/hw/xfree86/x86emu/sys.c
+++ b/hw/xfree86/x86emu/sys.c
@@ -49,7 +49,6 @@
#include <string.h>
#endif
-# ifndef NO_INLINE
# ifdef __GNUC__
/* Define some packed structures to use with unaligned accesses */
@@ -139,7 +138,6 @@ static __inline__ void stw_u(u16 val, u16 *p)
}
# endif /* __GNUC__ */
-# endif /* NO_INLINE */
/*------------------------- Global Variables ------------------------------*/
X86EMU_sysEnv _X86EMU_env; /* Global emulator machine state */