]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target-openrisc/interrupt_helper.c
qga: drop unused sockaddr in accept(2) call
[mirror_qemu.git] / target-openrisc / interrupt_helper.c
index 844648f780a85ad3274ebb6aa6a9fd2264a0ea91..116f9109a77ea294f36717173e0a23775b0931c7 100644 (file)
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "cpu.h"
-#include "helper.h"
+#include "exec/exec-all.h"
+#include "exec/helper-proto.h"
 
 void HELPER(rfe)(CPUOpenRISCState *env)
 {
@@ -51,7 +53,7 @@ void HELPER(rfe)(CPUOpenRISCState *env)
     }
 
     if (need_flush_tlb) {
-        tlb_flush(&cpu->env, 1);
+        tlb_flush(cs, 1);
     }
 #endif
     cs->interrupt_request |= CPU_INTERRUPT_EXITTB;