summaryrefslogtreecommitdiff
path: root/arch/arc/include
diff options
context:
space:
mode:
authorNoam Camus <noamc@ezchip.com>2016-01-13 01:58:38 +0000
committerVineet Gupta <vgupta@synopsys.com>2016-05-09 09:32:31 +0530
commit4bb40c6d6c011dc616d6d7fbad2bce21794f97a0 (patch)
tree93065bc7d8baf419aaf2c7445c0ebd784c9d6826 /arch/arc/include
parent44df427c894a4357e43bb35769baefa7cdf09833 (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>
Diffstat (limited to 'arch/arc/include')
-rw-r--r--arch/arc/include/uapi/asm/byteorder.h2
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>