diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2017-10-04 01:15:23 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-10-04 02:54:24 +0200 |
commit | 5bdfca6435b8294490ffb5b7c8b7d8eac3814b06 (patch) | |
tree | 84c7a2accb659f3b649e39413a18fa1e8e590e6b /arch/m32r | |
parent | zram: fix null dereference of handle (diff) | |
download | linux-5bdfca6435b8294490ffb5b7c8b7d8eac3814b06.tar.xz linux-5bdfca6435b8294490ffb5b7c8b7d8eac3814b06.zip |
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.
Link: http://lkml.kernel.org/r/1505678083-10320-1-git-send-email-sudipm.mukherjee@gmail.com
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m32r')
-rw-r--r-- | arch/m32r/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index 87cde1e4b38c..0777f3a8a1f3 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 |