Prechádzať zdrojové kódy

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>
Christoph Hellwig 7 rokov pred
rodič
commit
4b40e9ddc8
1 zmenil súbory, kde vykonal 0 pridanie a 4 odobranie
  1. 0 4
      arch/riscv/include/asm/irq.h

+ 0 - 4
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);