浏览代码

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);