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

Jeremy Huddleston jeremyhu at apple.com
Tue Sep 13 19:44:41 PDT 2011


Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

On Sep 13, 2011, at 4:32 PM, Jamey Sharp wrote:

> 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
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 

---
Jeremy Huddleston

Rebuild Sudan
- Board of Directors
- http://www.rebuildsudan.org

Berkeley Foundation for Opportunities in Information Technology
- Advisory Board
- http://www.bfoit.org



More information about the xorg-devel mailing list