Browse Source

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>
Noam Camus 9 years ago
parent
commit
4bb40c6d6c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arc/include/uapi/asm/byteorder.h

+ 1 - 1
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>