ARC: clean out UAPI byteorder.h clean off Kconfig symbol
authorNoam Camus <noamc@ezchip.com>
Wed, 13 Jan 2016 01:58:38 +0000 (01:58 +0000)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 9 May 2016 04:02:31 +0000 (09:32 +0530)
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>
arch/arc/include/uapi/asm/byteorder.h

index 9da71d4..ea5ca44 100644 (file)
@@ -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>