]> git.baikalelectronics.ru Git - kernel.git/commit
pseries: Add H_SET_MODE to change exception endianness
authorAnton Blanchard <anton@samba.org>
Wed, 20 Nov 2013 11:14:59 +0000 (22:14 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 20 Nov 2013 22:19:16 +0000 (09:19 +1100)
commit953131ffa6ad908ec85b4f8ad62d07c73fafff18
tree7c36d37d883ed5ec6b386277c38e20d9485fdaca
parent66df5e19aa798b13876343f7aa68e30e9610deb1
pseries: Add H_SET_MODE to change exception endianness

On little endian builds call H_SET_MODE so exceptions have the
correct endianness. We need to reset the endian during kexec
so do that in the MMU hashtable clear callback.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/hvcall.h
arch/powerpc/include/asm/plpar_wrappers.h
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/platforms/pseries/setup.c