]> git.proxmox.com Git - qemu.git/blobdiff - hw/shix.c
PPC: Fix TLB invalidation bug within the PPC interrupt handler.
[qemu.git] / hw / shix.c
index e259c17c52576e8972af65b1422caa61e260c355..dd9ce174f92819d054334b46343039d6edf91721 100644 (file)
--- a/hw/shix.c
+++ b/hw/shix.c
@@ -43,7 +43,7 @@ static void shix_init(ram_addr_t ram_size,
               const char *initrd_filename, const char *cpu_model)
 {
     int ret;
-    CPUState *env;
+    CPUSH4State *env;
     struct SH7750State *s;
     MemoryRegion *sysmem = get_system_memory();
     MemoryRegion *rom = g_new(MemoryRegion, 1);