Patchwork [3/8] target-mips: Do not check CPU_INTERRUPT_TIMER.

login
register
mail settings
Submitter Richard Henderson
Date May 4, 2011, 8:34 p.m.
Message ID <1304541271-5891-4-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/94140/
State New
Headers show

Comments

Richard Henderson - May 4, 2011, 8:34 p.m.
This bit is never set, therefore we should not read it either.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 target-mips/exec.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

Patch

diff --git a/target-mips/exec.h b/target-mips/exec.h
index b3c5a13..607edf1 100644
--- a/target-mips/exec.h
+++ b/target-mips/exec.h
@@ -29,10 +29,6 @@  static inline int cpu_has_work(CPUState *env)
         has_work = 1;
     }
 
-    if (env->interrupt_request & CPU_INTERRUPT_TIMER) {
-        has_work = 1;
-    }
-
     return has_work;
 }