summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-09-29 11:02:56 +0000
committerwdenk <wdenk>2004-09-29 11:02:56 +0000
commitda93ed8147a000505ac7b7ed4e2fb50532596a3c (patch)
treef375a3f5d82d1f519f77d9446ccf147f2091548f /include/linux
parenta5725fabc0c6378f583df6fc6491ec07eab154ab (diff)
downloadbarebox-da93ed8147a000505ac7b7ed4e2fb50532596a3c.tar.gz
barebox-da93ed8147a000505ac7b7ed4e2fb50532596a3c.tar.xz
* Patch by Shlomo Kut, 29 Mar 2004:
Add support for MKS Instruments "Quantum" board * Fix build problem with Cogent boards; avoid using <asm/byteorder.h> when using the host compiler
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/byteorder/big_endian.h1
-rw-r--r--include/linux/byteorder/little_endian.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/byteorder/big_endian.h b/include/linux/byteorder/big_endian.h
index ebd81c0134..19b0c86e43 100644
--- a/include/linux/byteorder/big_endian.h
+++ b/include/linux/byteorder/big_endian.h
@@ -7,6 +7,7 @@
#ifndef __BIG_ENDIAN_BITFIELD
#define __BIG_ENDIAN_BITFIELD
#endif
+#define __BYTE_ORDER __BIG_ENDIAN
#include <linux/byteorder/swab.h>
diff --git a/include/linux/byteorder/little_endian.h b/include/linux/byteorder/little_endian.h
index 1431663621..a46f3ecc12 100644
--- a/include/linux/byteorder/little_endian.h
+++ b/include/linux/byteorder/little_endian.h
@@ -7,6 +7,7 @@
#ifndef __LITTLE_ENDIAN_BITFIELD
#define __LITTLE_ENDIAN_BITFIELD
#endif
+#define __BYTE_ORDER __LITTLE_ENDIAN
#include <linux/byteorder/swab.h>