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)
commite844b1eeae42dc93bf13e67812a95ee7b58be8c7
tree7c36d37d883ed5ec6b386277c38e20d9485fdaca
parentb91da2d4ce896c324bdbf1a078dbbe2db9a35ef1
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