summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-08-04 10:23:14 +0200
committerPalmer Dabbelt <palmer@sifive.com>2018-08-13 08:31:31 -0700
commit4b40e9ddc892de508c3b3a3d82ee568c07c4308a (patch)
treecf2afaf17f83c8f84304e05ca7ee18d2a88af828 /arch/riscv/include
parentb9d5535746e306a456691177228a08f04b923a7b (diff)
downloadlinux-stable-4b40e9ddc892de508c3b3a3d82ee568c07c4308a.tar.gz
linux-stable-4b40e9ddc892de508c3b3a3d82ee568c07c4308a.tar.bz2
linux-stable-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>
Diffstat (limited to 'arch/riscv/include')
-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);