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>
This commit is contained in:
committed by
Palmer Dabbelt
parent
b9d5535746
commit
4b40e9ddc8
@ -17,10 +17,6 @@
|
|||||||
|
|
||||||
#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_timer_interrupt(void);
|
||||||
void riscv_software_interrupt(void);
|
void riscv_software_interrupt(void);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user