From d8108fb187bb68459cfe7dca4b5c983db33bcc7b Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 21 May 2011 08:17:08 +0000 Subject: cpu-exec: unify do_interrupt call Now that all targets use common function signature for do_interrupt(), there is no need for the #ifdeffery anymore. Signed-off-by: Blue Swirl --- cpu-exec.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'cpu-exec.c') diff --git a/cpu-exec.c b/cpu-exec.c index 6440f12b97..ecd201ee73 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -271,33 +271,7 @@ int cpu_exec(CPUState *env1) ret = env->exception_index; break; #else -#if defined(TARGET_I386) - do_interrupt(env); -#elif defined(TARGET_PPC) - do_interrupt(env); -#elif defined(TARGET_LM32) - do_interrupt(env); -#elif defined(TARGET_MICROBLAZE) - do_interrupt(env); -#elif defined(TARGET_MIPS) - do_interrupt(env); -#elif defined(TARGET_SPARC) - do_interrupt(env); -#elif defined(TARGET_ARM) do_interrupt(env); -#elif defined(TARGET_UNICORE32) - do_interrupt(env); -#elif defined(TARGET_SH4) - do_interrupt(env); -#elif defined(TARGET_ALPHA) - do_interrupt(env); -#elif defined(TARGET_CRIS) - do_interrupt(env); -#elif defined(TARGET_M68K) - do_interrupt(env); -#elif defined(TARGET_S390X) - do_interrupt(env); -#endif env->exception_index = -1; #endif } -- cgit v1.2.3