]> git.proxmox.com Git - qemu.git/blobdiff - target-ppc/mmu_helper.c
rng-egd: remove redundant free
[qemu.git] / target-ppc / mmu_helper.c
index 5dd4e05f78f14bca71f132ed53bf4bc44670d33d..04a840b0169752067fcbd76c8c574db2acd64bca 100644 (file)
@@ -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;
 
@@ -2871,6 +2871,8 @@ void helper_booke206_tlbflush(CPUPPCState *env, uint32_t type)
 
 /*****************************************************************************/
 
+#include "exec/softmmu_exec.h"
+
 #define MMUSUFFIX _mmu
 
 #define SHIFT 0