From: Christoph Hellwig Date: Sat, 4 Aug 2018 08:23:14 +0000 (+0200) Subject: RISC-V: remove INTERRUPT_CAUSE_* defines from asm/irq.h X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4b40e9ddc892de508c3b3a3d82ee568c07c4308a;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/include/asm/irq.h b/arch/riscv/include/asm/irq.h index c871661c9df4..996b6fbe17a6 100644 --- a/arch/riscv/include/asm/irq.h +++ b/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);