summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/irq.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-11-01 17:20:53 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-11-01 17:20:53 -0700
commite5897c7d2e6507ac2423455bada21c8a6b005db6 (patch)
tree9c8e9eeb576aa805f967e9b653ae331067531c24 /arch/riscv/include/asm/irq.h
parent31408fbe33d1d5e6209fa89fa5b45459197b8970 (diff)
parent1d9b0b66c3ef03e42db63068e1a4e7250992e2b1 (diff)
Merge tag 'riscv/for-v5.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
Pull RISC-V fixes from Paul Walmsley: "One fix for PCIe users: - Fix legacy PCI I/O port access emulation One set of cleanups: - Resolve most of the warnings generated by sparse across arch/riscv. No functional changes And one MAINTAINERS update: - Update Palmer's E-mail address" * tag 'riscv/for-v5.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: MAINTAINERS: Change to my personal email address RISC-V: Add PCIe I/O BAR memory mapping riscv: for C functions called only from assembly, mark with __visible riscv: fp: add missing __user pointer annotations riscv: add missing header file includes riscv: mark some code and data as file-static riscv: init: merge split string literals in preprocessor directive riscv: add prototypes for assembly language functions from head.S
Diffstat (limited to 'arch/riscv/include/asm/irq.h')
-rw-r--r--arch/riscv/include/asm/irq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/irq.h b/arch/riscv/include/asm/irq.h
index 75576424c0f7..6e1b0e0325eb 100644
--- a/arch/riscv/include/asm/irq.h
+++ b/arch/riscv/include/asm/irq.h
@@ -7,6 +7,9 @@
#ifndef _ASM_RISCV_IRQ_H
#define _ASM_RISCV_IRQ_H
+#include <linux/interrupt.h>
+#include <linux/linkage.h>
+
#define NR_IRQS 0
void riscv_timer_interrupt(void);