Преглед изворни кода

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 година
родитељ
комит
4b40e9ddc8
1 измењених фајлова са 0 додато и 4 уклоњено
  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);