projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaa27f3
)
tile: default to little endian on older toolchains
author
Chris Metcalf
<cmetcalf@ezchip.com>
Tue, 13 Jan 2015 15:04:43 +0000
(10:04 -0500)
committer
Chris Metcalf
<cmetcalf@ezchip.com>
Tue, 13 Jan 2015 15:13:30 +0000
(10:13 -0500)
Older toolchains may not specify __LITTLE_ENDIAN__, but older
toolchains were all little endian. Don't make things unnecessarily
hard for those toolchains.
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
arch/tile/include/uapi/asm/byteorder.h
patch
|
blob
|
history
diff --git
a/arch/tile/include/uapi/asm/byteorder.h
b/arch/tile/include/uapi/asm/byteorder.h
index fb72ecf49218a4e6b9e5bd6fe93261e2565f61d2..6b8fa2e1cf6e11d5bf6331e290a234bb7ef55b85 100644
(file)
--- a/
arch/tile/include/uapi/asm/byteorder.h
+++ b/
arch/tile/include/uapi/asm/byteorder.h
@@
-14,8
+14,6
@@
#if defined (__BIG_ENDIAN__)
#include <linux/byteorder/big_endian.h>
-#elif defined (__LITTLE_ENDIAN__)
-#include <linux/byteorder/little_endian.h>
#else
-#
error "__BIG_ENDIAN__ or __LITTLE_ENDIAN__ must be defined."
+#
include <linux/byteorder/little_endian.h>
#endif