diff options
author | Noam Camus <noamc@ezchip.com> | 2016-01-13 01:58:38 +0000 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2016-05-09 09:32:31 +0530 |
commit | 4bb40c6d6c011dc616d6d7fbad2bce21794f97a0 (patch) | |
tree | 93065bc7d8baf419aaf2c7445c0ebd784c9d6826 /arch/arc | |
parent | 44df427c894a4357e43bb35769baefa7cdf09833 (diff) | |
download | lwn-4bb40c6d6c011dc616d6d7fbad2bce21794f97a0.tar.gz lwn-4bb40c6d6c011dc616d6d7fbad2bce21794f97a0.zip |
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>
Diffstat (limited to 'arch/arc')
-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 @@ #ifndef __ASM_ARC_BYTEORDER_H #define __ASM_ARC_BYTEORDER_H -#ifdef CONFIG_CPU_BIG_ENDIAN +#ifdef __BIG_ENDIAN__ #include <linux/byteorder/big_endian.h> #else #include <linux/byteorder/little_endian.h> |