target-ppc: Use #define instead of opencoding values
PATCH 1/1 target-ppc: Use #define instead of opencoding values
From: "Aneesh Kumar K.V" <[email protected]>
Signed-off-by Aneesh Kumar K.V <[email protected]>
--- target-ppc/mmu_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target-ppc/mmu_helper.c +1 -1
@@ -2061,7 +2061,7 @@ void helper_store_sr(CPUPPCState *env, target_ulong srnum, target_ulong value)/* ESID = srnum */ rb |= ((uint32_t )srnum &0xf ) <<28 ;/* Set the valid bit */ - rb |=1 <<27 ; + rb |=SLB_ESID_V ;/* Index = ESID */ rb |= (uint32_t )srnum;
Signature · 1 line
1.8.1.2