Skip to content

Commit 4b40e9d

Browse files
Christoph Hellwigpalmer-dabbelt
authored andcommitted
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>
1 parent b9d5535 commit 4b40e9d

File tree

1 file changed

+0
-4
lines changed
  • arch/riscv/include/asm

1 file changed

+0
-4
lines changed

arch/riscv/include/asm/irq.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717

1818
#define NR_IRQS 0
1919

20-
#define INTERRUPT_CAUSE_SOFTWARE 1
21-
#define INTERRUPT_CAUSE_TIMER 5
22-
#define INTERRUPT_CAUSE_EXTERNAL 9
23-
2420
void riscv_timer_interrupt(void);
2521
void riscv_software_interrupt(void);
2622

0 commit comments

Comments
 (0)