summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-08-04 11:23:14 +0300
committerPalmer Dabbelt <palmer@sifive.com>2018-08-13 18:31:31 +0300
commit4b40e9ddc892de508c3b3a3d82ee568c07c4308a (patch)
treecf2afaf17f83c8f84304e05ca7ee18d2a88af828
parentb9d5535746e306a456691177228a08f04b923a7b (diff)
downloadlinux-4b40e9ddc892de508c3b3a3d82ee568c07c4308a.tar.xz
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);