summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/irq.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-08-04 10:23:13 +0200
committerPalmer Dabbelt <palmer@sifive.com>2018-08-13 08:31:30 -0700
commitb9d5535746e306a456691177228a08f04b923a7b (patch)
treee30a22b55379bd8019eee87c48d9b9f8bf9e1fc9 /arch/riscv/include/asm/irq.h
parentb9490350f751e5d17a24d0ae5af1f9e7f55c7c31 (diff)
RISC-V: simplify software interrupt / IPI code
Rename handle_ipi to riscv_software_interrupt, drop the unused return value and move the prototype to irq.h together with riscv_timer_interupt. This allows simplifying the upcoming interrupt handling support. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/include/asm/irq.h')
-rw-r--r--arch/riscv/include/asm/irq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/irq.h b/arch/riscv/include/asm/irq.h
index 4dee9d4c13c0..c871661c9df4 100644
--- a/arch/riscv/include/asm/irq.h
+++ b/arch/riscv/include/asm/irq.h
@@ -22,6 +22,7 @@
#define INTERRUPT_CAUSE_EXTERNAL 9
void riscv_timer_interrupt(void);
+void riscv_software_interrupt(void);
#include <asm-generic/irq.h>