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:
1 parent
f414cf931e
commit
d84e7eb7f0
4 files changed
+10
-11
No files matched your search
@@ -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