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 9da71d415c386d141f8f5e1aefa08051d6450915..ea5ca444c7e3f2731bde6e21fe0b79273ece2f89 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>
This page took 0.025065 seconds and 5 git commands to generate.