From da93ed8147a000505ac7b7ed4e2fb50532596a3c Mon Sep 17 00:00:00 2001 From: wdenk Date: Wed, 29 Sep 2004 11:02:56 +0000 Subject: * Patch by Shlomo Kut, 29 Mar 2004: Add support for MKS Instruments "Quantum" board * Fix build problem with Cogent boards; avoid using when using the host compiler --- include/linux/byteorder/big_endian.h | 1 + include/linux/byteorder/little_endian.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include/linux/byteorder') diff --git a/include/linux/byteorder/big_endian.h b/include/linux/byteorder/big_endian.h index ebd81c0..19b0c86 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 diff --git a/include/linux/byteorder/little_endian.h b/include/linux/byteorder/little_endian.h index 1431663..a46f3ec 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 -- cgit v1.1