From: Joakim Tjernlund Date: Thu, 11 Feb 2010 07:48:15 +0000 (+0100) Subject: include/platform.h: PowerPC can also do unaligned access X-Git-Tag: 1_17_0~470 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80f4275629bd7f73776018cb3d06773a413bbbfb;p=platform%2Fupstream%2Fbusybox.git include/platform.h: PowerPC can also do unaligned access Signed-off-by: Joakim Tjernlund Signed-off-by: Denys Vlasenko --- 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 typedef int bb__aliased_int FIX_ALIASING; typedef uint16_t bb__aliased_uint16_t FIX_ALIASING;