Patchwork [4/8] target-sparc: Do not check CPU_INTERRUPT_TIMER.

login
register
mail settings
Submitter Richard Henderson
Date April 30, 2011, 10:24 p.m.
Message ID <1304202271-24730-5-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/93527/
State New
Headers show

Comments

Richard Henderson - April 30, 2011, 10:24 p.m.
This bit is never set, therefore we should not read it either.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 cpu-exec.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

Patch

diff --git a/cpu-exec.c b/cpu-exec.c
index 5b42b25..6d43726 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -489,9 +489,6 @@  int cpu_exec(CPUState *env1)
                                 next_tb = 0;
                             }
                         }
-		    } else if (interrupt_request & CPU_INTERRUPT_TIMER) {
-			//do_interrupt(0, 0, 0, 0, 0);
-			env->interrupt_request &= ~CPU_INTERRUPT_TIMER;
 		    }
 #elif defined(TARGET_ARM)
                     if (interrupt_request & CPU_INTERRUPT_FIQ