projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81fe2b1
)
include/platform.h: PowerPC can also do unaligned access
author
Joakim Tjernlund
<Joakim.Tjernlund@transmode.se>
Thu, 11 Feb 2010 07:48:15 +0000
(08:48 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 11 Feb 2010 22:23:28 +0000
(23:23 +0100)
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/platform.h
patch
|
blob
|
history
diff --git
a/include/platform.h
b/include/platform.h
index a134a9e4252ade616aa7aa50005d4df933297674..2d3821c0220b36f1b06f951ee9041bb581cc7927 100644
(file)
--- 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;