qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 6/9] cpu-exec: unify do_interrupt call


From: Blue Swirl
Subject: [Qemu-devel] [PATCH 6/9] cpu-exec: unify do_interrupt call
Date: Sun, 22 May 2011 14:13:39 +0300

Now that all targets use common function signature for do_interrupt(),
there is no
need for the #ifdeffery anymore.

Signed-off-by: Blue Swirl <address@hidden>
---
 cpu-exec.c |   26 --------------------------
 1 files changed, 0 insertions(+), 26 deletions(-)

diff --git a/cpu-exec.c b/cpu-exec.c
index 4aa75fd..dd4f5f5 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -272,33 +272,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
                 }
-- 
1.6.2.4

Attachment: 0006-cpu-exec-unify-do_interrupt-call.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]