]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
RISC-V: remove INTERRUPT_CAUSE_* defines from asm/irq.h
authorChristoph Hellwig <hch@lst.de>
Sat, 4 Aug 2018 08:23:14 +0000 (10:23 +0200)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 13 Aug 2018 15:31:31 +0000 (08:31 -0700)
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>
arch/riscv/include/asm/irq.h

index c871661c9df4257dbaede4ee132ee558f303f074..996b6fbe17a61dc3ee149087def49de1108d399c 100644 (file)
 
 #define NR_IRQS         0
 
 
 #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);
 
 void riscv_timer_interrupt(void);
 void riscv_software_interrupt(void);