]> git.proxmox.com Git - qemu.git/blobdiff - target-ppc/mmu-hash32.c
rng-egd: remove redundant free
[qemu.git] / target-ppc / mmu-hash32.c
index b5ebe07c9d82ce81710d2062481ce54d7db434f7..6a77dc4f97e2c8016534710ba213d4d871ff2ca4 100644 (file)
 
 #ifdef DEBUG_MMU
 #  define LOG_MMU(...) qemu_log(__VA_ARGS__)
-#  define LOG_MMU_STATE(env) log_cpu_state(CPU(ppc_env_get_cpu(env)), 0)
+#  define LOG_MMU_STATE(cpu) log_cpu_state((cpu), 0)
 #else
 #  define LOG_MMU(...) do { } while (0)
-#  define LOG_MMU_STATE(...) do { } while (0)
+#  define LOG_MMU_STATE(cpu) do { } while (0)
 #endif
 
 #ifdef DEBUG_BATS