powerpc/mm: Use HPTE constants when updating hpte bits
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 18 Nov 2013 09:28:09 +0000 (14:58 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 9 Dec 2013 00:40:27 +0000 (11:40 +1100)
commit92c08a0d522c7e62c01a63e42597f0c2b02c4245
tree7e427c100b5782a1a8501237ab8deecb65145087
parent6f4441ef7009b9ec063678d906eb762318689494
powerpc/mm: Use HPTE constants when updating hpte bits

Even though we have same value for linux PTE bits and hash PTE pits
use the hash pte bits wen updating hash pte

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/beat_htab.c
arch/powerpc/platforms/pseries/lpar.c