From 60b4bd181bbdc794c7f3547f67df916132aa111e Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Tue, 13 Sep 2011 14:31:24 -0500 Subject: [PATCH] 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 Reviewed-by: Jeremy Huddleston Reviewed-by: Matt Turner --- hw/xfree86/x86emu/sys.c | 2 -- 1 file changed, 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 #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 */