diff mbox series

target/mips: Use qemu_irq typedef for CPUMIPSState::irq member

Message ID 20240130111111.6372-1-philmd@linaro.org
State New
Headers show
Series target/mips: Use qemu_irq typedef for CPUMIPSState::irq member | expand

Commit Message

Philippe Mathieu-Daudé Jan. 30, 2024, 11:11 a.m. UTC
Missed during commit d537cf6c86 ("Unify IRQ handling")
when qemu_irq typedef was introduced for IRQState.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 target/mips/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alex Bennée Jan. 30, 2024, 2:59 p.m. UTC | #1
Philippe Mathieu-Daudé <philmd@linaro.org> writes:

> Missed during commit d537cf6c86 ("Unify IRQ handling")
> when qemu_irq typedef was introduced for IRQState.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Philippe Mathieu-Daudé Feb. 15, 2024, 8:59 a.m. UTC | #2
On 30/1/24 12:11, Philippe Mathieu-Daudé wrote:
> Missed during commit d537cf6c86 ("Unify IRQ handling")
> when qemu_irq typedef was introduced for IRQState.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   target/mips/cpu.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Patch queued.
diff mbox series

Patch

diff --git a/target/mips/cpu.h b/target/mips/cpu.h
index 1163a71f3c..74408c653a 100644
--- a/target/mips/cpu.h
+++ b/target/mips/cpu.h
@@ -1183,7 +1183,7 @@  typedef struct CPUArchState {
     CPUMIPSMVPContext *mvp;
 #if !defined(CONFIG_USER_ONLY)
     CPUMIPSTLBContext *tlb;
-    void *irq[8];
+    qemu_irq irq[8];
     struct MIPSITUState *itu;
     MemoryRegion *itc_tag; /* ITC Configuration Tags */