Skip to contentSkip to conversation

m32r: define CPU_BIG_ENDIAN

PATCH Applied Sudip Mukherjee 1 participant 1 message Sep 17, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 m32r: define CPU_BIG_ENDIAN

The build of m32r allmodconfig is giving lots of build warnings about:
include/linux/byteorder/big_endian.h:7:2:
warning: #warning inconsistent configuration,
needs CONFIG_CPU_BIG_ENDIAN [-Wcpp]
#warning inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN

Define CPU_BIG_ENDIAN like the way CPU_LITTLE_ENDIAN is defined.

---
 arch/m32r/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
arch/m32r/Kconfig +4 -0
index 87cde1e..0777f3a 100644
@@ -194,6 +194,10 @@ config TIMER_DIVIDE
 	int "Timer divider (integer)"
 	default "128"
 
+config CPU_BIG_ENDIAN
+        bool "Generate big endian code"
+	default n
+
 config CPU_LITTLE_ENDIAN
         bool "Generate little endian code"
 	default n
Signature · 1 line
2.7.4