[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v4 49/71] nios: convert to cpu_interrupt_request
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [RFC v4 49/71] nios: convert to cpu_interrupt_request |
Date: |
Wed, 31 Oct 2018 16:37:06 +0000 |
User-agent: |
mu4e 1.1.0; emacs 26.1.50 |
Emilio G. Cota <address@hidden> writes:
> Cc: Chris Wulff <address@hidden>
> Cc: Marek Vasut <address@hidden>
> Reviewed-by: Richard Henderson <address@hidden>
> Signed-off-by: Emilio G. Cota <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
> ---
> target/nios2/cpu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/nios2/cpu.c b/target/nios2/cpu.c
> index fbfaa2ce26..49a75414d3 100644
> --- a/target/nios2/cpu.c
> +++ b/target/nios2/cpu.c
> @@ -36,7 +36,7 @@ static void nios2_cpu_set_pc(CPUState *cs, vaddr value)
>
> static bool nios2_cpu_has_work(CPUState *cs)
> {
> - return cs->interrupt_request & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI);
> + return cpu_interrupt_request(cs) & (CPU_INTERRUPT_HARD |
> CPU_INTERRUPT_NMI);
> }
>
> /* CPUClass::reset() */
--
Alex Bennée
- [Qemu-devel] [RFC v4 63/71] riscv: convert to cpu_has_work_with_iothread_lock, (continued)
- [Qemu-devel] [RFC v4 63/71] riscv: convert to cpu_has_work_with_iothread_lock, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 52/71] moxie: convert to cpu_interrupt_request, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 66/71] cpu: protect most CPU state with cpu->lock, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 59/71] cpu: introduce cpu_has_work_with_iothread_lock, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 54/71] openrisc: convert to cpu_interrupt_request, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 49/71] nios: convert to cpu_interrupt_request, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 48/71] mips: convert to cpu_interrupt_request, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 31/71] ppc: use cpu_reset_interrupt, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 43/71] sh4: convert to cpu_interrupt_request, Emilio G. Cota, 2018/10/25
- [Qemu-devel] [RFC v4 70/71] cpus-common: move exclusive_idle higher in the file, Emilio G. Cota, 2018/10/25