summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig2018-08-04 10:23:14 +0200
committerPalmer Dabbelt2018-08-13 17:31:31 +0200
commit4b40e9ddc892de508c3b3a3d82ee568c07c4308a (patch)
treecf2afaf17f83c8f84304e05ca7ee18d2a88af828
parentRISC-V: simplify software interrupt / IPI code (diff)
downloadkernel-qcow2-linux-4b40e9ddc892de508c3b3a3d82ee568c07c4308a.tar.gz
kernel-qcow2-linux-4b40e9ddc892de508c3b3a3d82ee568c07c4308a.tar.xz
kernel-qcow2-linux-4b40e9ddc892de508c3b3a3d82ee568c07c4308a.zip
RISC-V: remove INTERRUPT_CAUSE_* defines from asm/irq.h
These are only of use to the local irq controller driver, so add them in that driver implementation instead, which will be submitted soon. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
-rw-r--r--arch/riscv/include/asm/irq.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/riscv/include/asm/irq.h b/arch/riscv/include/asm/irq.h
index c871661c9df4..996b6fbe17a6 100644
--- a/arch/riscv/include/asm/irq.h
+++ b/arch/riscv/include/asm/irq.h
@@ -17,10 +17,6 @@
#define NR_IRQS 0
-#define INTERRUPT_CAUSE_SOFTWARE 1
-#define INTERRUPT_CAUSE_TIMER 5
-#define INTERRUPT_CAUSE_EXTERNAL 9
-
void riscv_timer_interrupt(void);
void riscv_software_interrupt(void);