Commit 722c9389 authored by Jisheng Zhang's avatar Jisheng Zhang Committed by Thomas Gleixner

irqchip/riscv-intc: Remove asmlinkage

The two functions riscv_intc_aia_irq() and riscv_intc_irq()
are only called by C functions.
Signed-off-by: default avatarJisheng Zhang <jszhang@kernel.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20240614151955.1949-1-jszhang@kernel.org
parent 8cb2dbf9
...@@ -26,7 +26,7 @@ static unsigned int riscv_intc_nr_irqs __ro_after_init = BITS_PER_LONG; ...@@ -26,7 +26,7 @@ static unsigned int riscv_intc_nr_irqs __ro_after_init = BITS_PER_LONG;
static unsigned int riscv_intc_custom_base __ro_after_init = BITS_PER_LONG; static unsigned int riscv_intc_custom_base __ro_after_init = BITS_PER_LONG;
static unsigned int riscv_intc_custom_nr_irqs __ro_after_init; static unsigned int riscv_intc_custom_nr_irqs __ro_after_init;
static asmlinkage void riscv_intc_irq(struct pt_regs *regs) static void riscv_intc_irq(struct pt_regs *regs)
{ {
unsigned long cause = regs->cause & ~CAUSE_IRQ_FLAG; unsigned long cause = regs->cause & ~CAUSE_IRQ_FLAG;
...@@ -34,7 +34,7 @@ static asmlinkage void riscv_intc_irq(struct pt_regs *regs) ...@@ -34,7 +34,7 @@ static asmlinkage void riscv_intc_irq(struct pt_regs *regs)
pr_warn_ratelimited("Failed to handle interrupt (cause: %ld)\n", cause); pr_warn_ratelimited("Failed to handle interrupt (cause: %ld)\n", cause);
} }
static asmlinkage void riscv_intc_aia_irq(struct pt_regs *regs) static void riscv_intc_aia_irq(struct pt_regs *regs)
{ {
unsigned long topi; unsigned long topi;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment