Commit 4bb40c6d authored by Noam Camus's avatar Noam Camus Committed by Vineet Gupta

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: default avatarNoam Camus <noamc@ezchip.com>
[vgupta: fix changelog]
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 44df427c
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#ifndef __ASM_ARC_BYTEORDER_H #ifndef __ASM_ARC_BYTEORDER_H
#define __ASM_ARC_BYTEORDER_H #define __ASM_ARC_BYTEORDER_H
#ifdef CONFIG_CPU_BIG_ENDIAN #ifdef __BIG_ENDIAN__
#include <linux/byteorder/big_endian.h> #include <linux/byteorder/big_endian.h>
#else #else
#include <linux/byteorder/little_endian.h> #include <linux/byteorder/little_endian.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment