summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/irq_work.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/irq_work.h')
-rw-r--r--arch/riscv/include/asm/irq_work.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/irq_work.h b/arch/riscv/include/asm/irq_work.h
new file mode 100644
index 000000000000..d6c277992f76
--- /dev/null
+++ b/arch/riscv/include/asm/irq_work.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASM_RISCV_IRQ_WORK_H
+#define _ASM_RISCV_IRQ_WORK_H
+
+static inline bool arch_irq_work_has_interrupt(void)
+{
+ return true;
+}
+extern void arch_irq_work_raise(void);
+#endif /* _ASM_RISCV_IRQ_WORK_H */