提交 4bb40c6d 编写于 作者: N Noam Camus 提交者: 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: NNoam Camus <noamc@ezchip.com>
[vgupta: fix changelog]
Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册