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

Matt Turner mattst88 at gmail.com
Thu Sep 15 07:10:19 PDT 2011


On Tue, Sep 13, 2011 at 5:32 PM, Jamey Sharp <jamey at minilop.net> 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__

Trivial, but the indentatino of ifdef __GNUC__ should probably be
changed as well.

Either way,
Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the xorg-devel mailing list