powerpc/copro: Fix faulting kernel segments
authorMichael Neuling <mikey@neuling.org>
Wed, 27 May 2015 06:06:55 +0000 (16:06 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 3 Jun 2015 03:27:15 +0000 (13:27 +1000)
commit85a97da9584868b6cd0c54b93c5f65319f615b08
treed1dadeb3d730d2eae9957ff7efb2d1771dba7cc9
parent8ac75b96be71e20ec1785ca18170890c4dfffe87
powerpc/copro: Fix faulting kernel segments

This fixes calculating the key bits (KP and KS) in the SLB VSID for kernel
mappings.

I'm not CCing this to stable as there are no uses of this currently.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/copro_fault.c