diff options
author | Noam Camus <noamc@ezchip.com> | 2016-01-12 20:58:38 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2016-05-09 00:02:31 -0400 |
commit | 4bb40c6d6c011dc616d6d7fbad2bce21794f97a0 (patch) | |
tree | 93065bc7d8baf419aaf2c7445c0ebd784c9d6826 | |
parent | 44df427c894a4357e43bb35769baefa7cdf09833 (diff) |
ARC: clean out UAPI byteorder.h clean off Kconfig symbol
UAPI header should not use Kconfig items
Use __BIG_ENDIAN__ defined as a compiler intrinsic
Signed-off-by: Noam Camus <noamc@ezchip.com>
[vgupta: fix changelog]
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r-- | arch/arc/include/uapi/asm/byteorder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/include/uapi/asm/byteorder.h b/arch/arc/include/uapi/asm/byteorder.h index 9da71d415c38..ea5ca444c7e3 100644 --- a/arch/arc/include/uapi/asm/byteorder.h +++ b/arch/arc/include/uapi/asm/byteorder.h | |||
@@ -9,7 +9,7 @@ | |||
9 | #ifndef __ASM_ARC_BYTEORDER_H | 9 | #ifndef __ASM_ARC_BYTEORDER_H |
10 | #define __ASM_ARC_BYTEORDER_H | 10 | #define __ASM_ARC_BYTEORDER_H |
11 | 11 | ||
12 | #ifdef CONFIG_CPU_BIG_ENDIAN | 12 | #ifdef __BIG_ENDIAN__ |
13 | #include <linux/byteorder/big_endian.h> | 13 | #include <linux/byteorder/big_endian.h> |
14 | #else | 14 | #else |
15 | #include <linux/byteorder/little_endian.h> | 15 | #include <linux/byteorder/little_endian.h> |