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)
commitd6c886006c948141f24e84acebfb757d3200f20c
tree12ace3bdd5713186183d5d4dbf4b630abe603199
parent8dd75ccb571f3c92c48014b3dabd3d51a115ab41
powerpc/mm/radix: Update LPCR only if it is powernv

LPCR cannot be updated when running in guest mode.

Fixes: 2bfd65e45e87 ("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