[PATCH] x86emu: There is no NO_INLINE implementation of unaligned access here.

Jamey Sharp jamey at minilop.net
Tue Sep 13 14:32:52 PDT 2011


Patch produced with:
	unifdef -UNO_INLINE -B

This change isn't relevant to the similar code in
xfree86/common/compiler.h, because x86emu is expected to someday move
out of xserver entirely and so should not depend on any xserver headers.

Signed-off-by: Jamey Sharp <jamey at minilop.net>
---
 hw/xfree86/x86emu/sys.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/hw/xfree86/x86emu/sys.c b/hw/xfree86/x86emu/sys.c
index 602b0bb..f389767 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 */
-- 
1.7.5.4



More information about the xorg-devel mailing list