[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH] PowerPC can also do unaligned access.
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2010-02-11 22:24:24
Message-ID: 201002112324.24879.vda.linux () googlemail ! com
[Download RAW message or body]
On Thursday 11 February 2010 08:48, Joakim Tjernlund wrote:
>
> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
> ---
> include/platform.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/platform.h b/include/platform.h
> index a134a9e..2d3821c 100644
> --- a/include/platform.h
> +++ b/include/platform.h
> @@ -200,7 +200,7 @@
> /* NB: unaligned parameter should be a pointer, aligned one -
> * a lvalue. This makes it more likely to not swap them by mistake
> */
> -#if defined(i386) || defined(__x86_64__)
> +#if defined(i386) || defined(__x86_64__) || defined(__powerpc__)
> # include <stdint.h>
> typedef int bb__aliased_int FIX_ALIASING;
> typedef uint16_t bb__aliased_uint16_t FIX_ALIASING;
Applied, thanks.
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic