]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
target-sparc: Do not check CPU_INTERRUPT_TIMER.
authorRichard Henderson <rth@twiddle.net>
Wed, 4 May 2011 20:34:27 +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>
cpu-exec.c

index 5b42b2581a414c49bba2d137e88d5ad4dc7e0c53..6d4372661c0a6df1a7fee78af40b2f2b7c10d9fd 100644 (file)
@@ -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