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>
This commit is contained in:
Christoph Hellwig 2018-08-04 10:23:13 +02:00 • committed by Palmer Dabbelt
commit b9d5535746
No known key found for this signature in database
GPG key ID: EF4CA1502CCBAB41
3 changed files with 3 additions and 7 deletions