From 458dd766565dad8cbd01861bdb337b0d129b185e Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 13 Sep 2014 09:45:32 -0700 Subject: target-ppc: Use cpu_exec_interrupt qom hook Cc: qemu-ppc@nongnu.org Signed-off-by: Richard Henderson Message-id: 1410626734-3804-22-git-send-email-rth@twiddle.net Signed-off-by: Peter Maydell --- cpu-exec.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'cpu-exec.c') diff --git a/cpu-exec.c b/cpu-exec.c index abffbe5fc1..a423ac3fd9 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -490,14 +490,6 @@ int cpu_exec(CPUArchState *env) #endif } } -#elif defined(TARGET_PPC) - if (interrupt_request & CPU_INTERRUPT_HARD) { - ppc_hw_interrupt(env); - if (env->pending_interrupts == 0) { - cpu->interrupt_request &= ~CPU_INTERRUPT_HARD; - } - next_tb = 0; - } #endif /* The target hook has 3 exit conditions: False when the interrupt isn't processed, -- cgit v1.2.1