Skip to contentSkip to conversation

target-ppc: Use #define instead of opencoding values

PATCH New Aneesh Kumar K.V 1 participant 1 message Aug 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target-ppc: Use #define instead of opencoding values

From: "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
index 5dd4e05..9c9132e 100644
@@ -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