From 37f3616aa8644e539f9f7178c026d47a458bf2ab Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 13 Sep 2014 09:45:18 -0700 Subject: target-xtensa: Use cpu_exec_interrupt qom hook Cc: Max Filippov Signed-off-by: Richard Henderson Reviewed-by: Max Filippov Message-id: 1410626734-3804-8-git-send-email-rth@twiddle.net Signed-off-by: Peter Maydell --- cpu-exec.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cpu-exec.c') diff --git a/cpu-exec.c b/cpu-exec.c index fe313b48f3..304867d4bd 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -669,12 +669,6 @@ int cpu_exec(CPUArchState *env) cc->do_interrupt(cpu); next_tb = 0; } -#elif defined(TARGET_XTENSA) - if (interrupt_request & CPU_INTERRUPT_HARD) { - cpu->exception_index = EXC_IRQ; - cc->do_interrupt(cpu); - next_tb = 0; - } #endif /* The target hook has 3 exit conditions: False when the interrupt isn't processed, -- cgit v1.2.1