projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9d5535
)
RISC-V: remove INTERRUPT_CAUSE_* defines from asm/irq.h
author
Christoph Hellwig
<hch@lst.de>
Sat, 4 Aug 2018 08:23:14 +0000
(10:23 +0200)
committer
Palmer Dabbelt
<palmer@sifive.com>
Mon, 13 Aug 2018 15:31:31 +0000
(08:31 -0700)
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>
arch/riscv/include/asm/irq.h
patch
|
blob
|
history
diff --git
a/arch/riscv/include/asm/irq.h
b/arch/riscv/include/asm/irq.h
index c871661c9df4257dbaede4ee132ee558f303f074..996b6fbe17a61dc3ee149087def49de1108d399c 100644
(file)
--- 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);