kernel_optimize_test/arch/parisc
Babu Moger 74ad3d28af parisc: Define CONFIG_CPU_BIG_ENDIAN
While working on enabling queued rwlock on SPARC, found this following
code in include/asm-generic/qrwlock.h which uses CONFIG_CPU_BIG_ENDIAN
to clear a byte.

static inline u8 *__qrwlock_write_byte(struct qrwlock *lock)
 {
	return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
 }

Problem is many of the fixed big endian architectures don't define
CPU_BIG_ENDIAN and clears the wrong byte.

Define CPU_BIG_ENDIAN for parisc architecture to fix it.

Signed-off-by: Babu Moger <babu.moger@oracle.com>
Signed-off-by: Helge Deller <deller@gmx.de>
2017-07-31 17:51:27 +02:00
..
configs parisc: regenerate defconfig files 2017-07-23 22:08:42 +02:00
include parisc: Increase thread and stack size to 32kb 2017-07-31 08:41:26 +02:00
kernel parisc: Increase thread and stack size to 32kb 2017-07-31 08:41:26 +02:00
lib
math-emu
mm
oprofile
defpalo.conf
install.sh
Kconfig parisc: Define CONFIG_CPU_BIG_ENDIAN 2017-07-31 17:51:27 +02:00
Kconfig.debug
Makefile
nm