[PATCH] target/mips: Use qemu_irq typedef for CPUMIPSState::irq member

Philippe Mathieu-Daudé posted 1 patch 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240130111111.6372-1-philmd@linaro.org
Maintainers: "Philippe Mathieu-Daudé" <philmd@linaro.org>, Aurelien Jarno <aurelien@aurel32.net>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>
target/mips/cpu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] target/mips: Use qemu_irq typedef for CPUMIPSState::irq member
Posted by Philippe Mathieu-Daudé 10 months ago
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(-)

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 */
 
-- 
2.41.0


Re: [PATCH] target/mips: Use qemu_irq typedef for CPUMIPSState::irq member
Posted by Philippe Mathieu-Daudé 9 months, 2 weeks ago
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.


Re: [PATCH] target/mips: Use qemu_irq typedef for CPUMIPSState::irq member
Posted by Alex Bennée 10 months ago
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>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro