]> git.proxmox.com Git - qemu.git/blobdiff - target-sparc/int32_helper.c
tcg-ppc64: Fix RLDCL opcode
[qemu.git] / target-sparc / int32_helper.c
index c35f522e0f4cc1e416f5ecdf7a9b193a924f4357..722146065a890ea122c710a0c12be024bcfab83a 100644 (file)
@@ -58,8 +58,10 @@ static const char * const excp_names[0x80] = {
 };
 #endif
 
-void do_interrupt(CPUSPARCState *env)
+void sparc_cpu_do_interrupt(CPUState *cs)
 {
+    SPARCCPU *cpu = SPARC_CPU(cs);
+    CPUSPARCState *env = &cpu->env;
     int cwp, intno = env->exception_index;
 
     /* Compute PSR before exposing state.  */