summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>2019-10-24 11:35:40 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2019-10-28 11:54:16 +0100
commit82ce028ad26dd075b06285ef61a854a564d910fb (patch)
tree3ff41d99b3f7b58dfcaf51575b0948b21797723c
parentpowerpc/pseries: Mark accumulate_stolen_time() as notrace (diff)
downloadlinux-82ce028ad26dd075b06285ef61a854a564d910fb.tar.xz
linux-82ce028ad26dd075b06285ef61a854a564d910fb.zip
powerpc/pseries: Don't opencode HPTE_V_BOLTED
No functional change in this patch. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20191024093542.29777-1-aneesh.kumar@linux.ibm.com
-rw-r--r--arch/powerpc/platforms/pseries/lpar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/lpar.c b/arch/powerpc/platforms/pseries/lpar.c
index f87a5c64e24d..3126fc02e50b 100644
--- a/arch/powerpc/platforms/pseries/lpar.c
+++ b/arch/powerpc/platforms/pseries/lpar.c
@@ -774,7 +774,7 @@ static long pSeries_lpar_hpte_remove(unsigned long hpte_group)
/* don't remove a bolted entry */
lpar_rc = plpar_pte_remove(H_ANDCOND, hpte_group + slot_offset,
- (0x1UL << 4), &dummy1, &dummy2);
+ HPTE_V_BOLTED, &dummy1, &dummy2);
if (lpar_rc == H_SUCCESS)
return i;