[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v8 38/74] openrisc: use cpu_reset_interrupt
From: |
Robert Foley |
Subject: |
[PATCH v8 38/74] openrisc: use cpu_reset_interrupt |
Date: |
Thu, 26 Mar 2020 15:31:20 -0400 |
From: Paolo Bonzini <address@hidden>
Cc: Stafford Horne <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Emilio G. Cota <address@hidden>
Signed-off-by: Robert Foley <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 2615571ce7..e54c148d4f 100644
--- a/target/openrisc/sys_helper.c
+++ b/target/openrisc/sys_helper.c
@@ -167,7 +167,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
- [PATCH v8 34/74] ppc: use cpu_reset_interrupt, (continued)
- [PATCH v8 34/74] ppc: use cpu_reset_interrupt, Robert Foley, 2020/03/26
- [PATCH v8 36/74] i386: use cpu_reset_interrupt, Robert Foley, 2020/03/26
- [PATCH v8 39/74] arm: convert to cpu_interrupt_request, Robert Foley, 2020/03/26
- [PATCH v8 29/74] gdbstub: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 30/74] openrisc: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 31/74] cpu-exec: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 32/74] cpu: convert to cpu_halted, Robert Foley, 2020/03/26
- [PATCH v8 33/74] cpu: define cpu_interrupt_request helpers, Robert Foley, 2020/03/26
- [PATCH v8 35/74] exec: use cpu_reset_interrupt, Robert Foley, 2020/03/26
- [PATCH v8 37/74] s390x: use cpu_reset_interrupt, Robert Foley, 2020/03/26
- [PATCH v8 38/74] openrisc: use cpu_reset_interrupt,
Robert Foley <=
- [PATCH v8 43/74] i386/whpx-all: convert to cpu_interrupt_request, Robert Foley, 2020/03/26
- [PATCH v8 40/74] i386: convert to cpu_interrupt_request, Robert Foley, 2020/03/26
- [PATCH v8 46/74] sh4: convert to cpu_interrupt_request, Robert Foley, 2020/03/26
- [PATCH v8 41/74] i386/kvm: convert to cpu_interrupt_request, Robert Foley, 2020/03/26
- [PATCH v8 42/74] i386/hax-all: convert to cpu_interrupt_request, Robert Foley, 2020/03/26
- [PATCH v8 48/74] hppa: convert to cpu_interrupt_request, Robert Foley, 2020/03/26
- [PATCH v8 49/74] lm32: convert to cpu_interrupt_request, Robert Foley, 2020/03/26
- [PATCH v8 45/74] ppc: convert to cpu_interrupt_request, Robert Foley, 2020/03/26
- [PATCH v8 47/74] cris: convert to cpu_interrupt_request, Robert Foley, 2020/03/26
- [PATCH v8 50/74] m68k: convert to cpu_interrupt_request, Robert Foley, 2020/03/26