Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1733524 > unrolled thread

[PATCH] m32r: define CPU_BIG_ENDIAN

Started bySudip Mukherjee <sudipm.mukherjee@gmail.com>
First post2017-09-17 22:00 +0200
Last post2017-09-17 22:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] m32r: define CPU_BIG_ENDIAN Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2017-09-17 22:00 +0200

#1733524 — [PATCH] m32r: define CPU_BIG_ENDIAN

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2017-09-17 22:00 +0200
Subject[PATCH] m32r: define CPU_BIG_ENDIAN
Message-ID<uqNTr-3U8-1@gated-at.bofh.it>
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.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
---
 arch/m32r/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig
index 87cde1e..0777f3a 100644
--- a/arch/m32r/Kconfig
+++ b/arch/m32r/Kconfig
@@ -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
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web