summaryrefslogtreecommitdiff
path: root/arch/arc/include/uapi/asm/byteorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/include/uapi/asm/byteorder.h')
-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>