29 lines
826 B
Diff
29 lines
826 B
Diff
|
|
From 7ccba831f3a42e95eb06e997b9b85fddf3cd724c Mon Sep 17 00:00:00 2001
|
||
|
|
From: JianChunfu <chunfu.jian@shingroup.cn>
|
||
|
|
Date: Fri, 15 Mar 2024 14:22:45 +0800
|
||
|
|
Subject: [PATCH] target/ppc: Modify the uncorrect value irq to n_IRQ
|
||
|
|
|
||
|
|
Modify the uncorrect value "irq" to "n_IRQ" submitted before.
|
||
|
|
|
||
|
|
Signed-off-by: JianChunfu <chunfu.jian@shingroup.cn>
|
||
|
|
---
|
||
|
|
hw/ppc/ppc.c | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/hw/ppc/ppc.c b/hw/ppc/ppc.c
|
||
|
|
index 6396bbe523..dedd56263d 100644
|
||
|
|
--- a/hw/ppc/ppc.c
|
||
|
|
+++ b/hw/ppc/ppc.c
|
||
|
|
@@ -67,7 +67,7 @@ void ppc_set_irq(PowerPCCPU *cpu, int n_IRQ, int level)
|
||
|
|
|
||
|
|
if (old_pending != env->pending_interrupts) {
|
||
|
|
if (kvm_enabled()) {
|
||
|
|
- kvmppc_set_interrupt(cpu, irq, level);
|
||
|
|
+ kvmppc_set_interrupt(cpu, n_IRQ, level);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
--
|
||
|
|
2.27.0
|
||
|
|
|