]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Add wrappers to enable/disable relocation on exceptions
authorIan Munsie <imunsie@au1.ibm.com>
Thu, 8 Nov 2012 04:57:04 +0000 (15:57 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 15 Nov 2012 04:08:07 +0000 (15:08 +1100)
commit798042da4e039ef551ff6e1b1ead50a763181daa
treeeff3a8e36256b98610c009c2fed9347b9ff531b3
parentd8f48ecc0e81cbc52a8eac907e02916d98dbfb5a
powerpc: Add wrappers to enable/disable relocation on exceptions

These wrappers hide the parameters that have to be passed to H_SET_MODE
to enable/disable relocation on during exceptions.

As noted in the comments, since these have partition wide scope, they
may take some time to complete and must be periodically retried until
H_SUCCESS is returned.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/plpar_wrappers.h