[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC v4 35/71] openrisc: use cpu_reset_interrupt
From: |
Emilio G. Cota |
Subject: |
[Qemu-devel] [RFC v4 35/71] openrisc: use cpu_reset_interrupt |
Date: |
Thu, 25 Oct 2018 10:46:08 -0400 |
From: Paolo Bonzini <address@hidden>
Cc: Stafford Horne <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Emilio G. Cota <address@hidden>
---
target/openrisc/sys_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/openrisc/sys_helper.c b/target/openrisc/sys_helper.c
index ab4d8fb520..c645cc896d 100644
--- a/target/openrisc/sys_helper.c
+++ b/target/openrisc/sys_helper.c
@@ -170,7 +170,7 @@ void HELPER(mtspr)(CPUOpenRISCState *env, target_ulong spr,
target_ulong rb)
env->ttmr = (rb & ~TTMR_IP) | ip;
} else { /* Clear IP bit. */
env->ttmr = rb & ~TTMR_IP;
- cs->interrupt_request &= ~CPU_INTERRUPT_TIMER;
+ cpu_reset_interrupt(cs, CPU_INTERRUPT_TIMER);
}
cpu_openrisc_timer_update(cpu);
--
2.17.1
- [Qemu-devel] [RFC v4 41/71] i386/hvf: convert to cpu_request_interrupt, (continued)
- [Qemu-devel] [RFC v4 41/71] i386/hvf: convert to cpu_request_interrupt, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 42/71] ppc: convert to cpu_interrupt_request, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 46/71] lm32: convert to cpu_interrupt_request, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 58/71] cpu: call .cpu_has_work with the CPU lock held, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 45/71] hppa: convert to cpu_interrupt_request, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 35/71] openrisc: use cpu_reset_interrupt,
Emilio G. Cota <=
- [Qemu-devel] [RFC v4 37/71] i386: convert to cpu_interrupt_request, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 33/71] i386: use cpu_reset_interrupt, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 17/71] ppc: convert to cpu_halted, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 18/71] sh4: convert to cpu_halted, Emilio G. Cota, 2018/10/25