RISC-V: simplify software interrupt / IPI code
authorChristoph Hellwig <hch@lst.de>
Sat, 4 Aug 2018 08:23:13 +0000 (10:23 +0200)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 13 Aug 2018 15:31:30 +0000 (08:31 -0700)
commitb9d5535746e306a456691177228a08f04b923a7b
treee30a22b55379bd8019eee87c48d9b9f8bf9e1fc9
parentb9490350f751e5d17a24d0ae5af1f9e7f55c7c31
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>
arch/riscv/include/asm/irq.h
arch/riscv/include/asm/smp.h
arch/riscv/kernel/smp.c