]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/radix: Update LPCR only if it is powernv
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 31 May 2016 06:26:29 +0000 (11:56 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 1 Jun 2016 03:47:34 +0000 (13:47 +1000)
commit9c6fc8d059548b43231e3e52b2136239f437ca44
tree12ace3bdd5713186183d5d4dbf4b630abe603199
parentc12650dcaaf12a803954537f8033a33283bb1396
powerpc/mm/radix: Update LPCR only if it is powernv

LPCR cannot be updated when running in guest mode.

Fixes: 0fe690ad9db8 ("powerpc/mm/radix: Add radix callbacks for early init routines")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/pgtable-radix.c