diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-05-21 08:17:08 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-06-26 18:25:24 +0000 |
commit | d8108fb187bb68459cfe7dca4b5c983db33bcc7b (patch) | |
tree | fc1e8942c1a38c959acf046c9cab051f64ebf044 /cpu-exec.c | |
parent | 3c688828bcb3afa2744e1f1729a40eef4a575b56 (diff) |
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 <blauwirbel@gmail.com>
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 26 |
1 files changed, 0 insertions, 26 deletions
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 } |