]> git.proxmox.com Git - qemu.git/commitdiff
target-mips: Do not check CPU_INTERRUPT_TIMER.
authorRichard Henderson <rth@twiddle.net>
Wed, 4 May 2011 20:34:26 +0000 (13:34 -0700)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 8 May 2011 16:55:23 +0000 (16:55 +0000)
This bit is never set, therefore we should not read it either.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-mips/exec.h

index b3c5a13f561fc187ed370f3ff9c0b805bea0c2ce..607edf12ca04197ffd41042640e6bc4b0215a1a9 100644 (file)
@@ -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;
 }