forked from Mirrors/opensbi
lib: sbi: Remove regs paramter of sbi_irqchip_process()
The irqchip handlers will typically not need pointer to trap registers so remove regs parameter of sbi_irqchip_process(). Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Samuel Holland <samuel.holland@sifive.com> Tested-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Clément Léger <cleger@rivosinc.com>
This commit is contained in:
@@ -209,7 +209,7 @@ static int sbi_trap_nonaia_irq(struct sbi_trap_regs *regs, ulong mcause)
|
||||
sbi_ipi_process();
|
||||
break;
|
||||
case IRQ_M_EXT:
|
||||
return sbi_irqchip_process(regs);
|
||||
return sbi_irqchip_process();
|
||||
default:
|
||||
return SBI_ENOENT;
|
||||
}
|
||||
@@ -232,7 +232,7 @@ static int sbi_trap_aia_irq(struct sbi_trap_regs *regs, ulong mcause)
|
||||
sbi_ipi_process();
|
||||
break;
|
||||
case IRQ_M_EXT:
|
||||
rc = sbi_irqchip_process(regs);
|
||||
rc = sbi_irqchip_process();
|
||||
if (rc)
|
||||
return rc;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user