[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH 04/18] test/input: Fix double-aligned test in dix_valuator_alloc() on m68k



> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Date: Wed, 27 Mar 2013 14:20:37 +0100
> 
> On m68k, doubles are not 64-bit aligned, just like on i386 and sh.
> 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---
>  test/input.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/test/input.c b/test/input.c
> index 90ab9ae..e2c8f4d 100644
> --- a/test/input.c
> +++ b/test/input.c
> @@ -1354,7 +1354,7 @@ dix_valuator_alloc(void)
>  
>          assert(v);
>          assert(v->numAxes == num_axes);
> -#if !defined(__i386__) && !defined(__sh__)
> +#if !defined(__i386__) && !defined(__mc68000__) && !defined(__sh__)

Any reason not to use __m68k__?  That's what we tend to use in BSD land.


Reply to: