aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-05-21 08:17:08 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-06-26 18:25:24 +0000
commitd8108fb187bb68459cfe7dca4b5c983db33bcc7b (patch)
treefc1e8942c1a38c959acf046c9cab051f64ebf044
parent3c688828bcb3afa2744e1f1729a40eef4a575b56 (diff)
downloadqemu-d8108fb187bb68459cfe7dca4b5c983db33bcc7b.zip
qemu-d8108fb187bb68459cfe7dca4b5c983db33bcc7b.tar.gz
qemu-d8108fb187bb68459cfe7dca4b5c983db33bcc7b.tar.bz2
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>
-rw-r--r--cpu-exec.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index 6440f12..ecd201e 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
}