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:
@@ -140,7 +140,7 @@ int imsic_get_target_file(u32 hartid)
|
||||
return imsic_get_hart_file(scratch);
|
||||
}
|
||||
|
||||
static int imsic_external_irqfn(struct sbi_trap_regs *regs)
|
||||
static int imsic_external_irqfn(void)
|
||||
{
|
||||
ulong mirq;
|
||||
|
||||
|
Reference in New Issue
Block a user