summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/irq_work.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/include/asm/irq_work.h')
-rw-r--r--arch/arm64/include/asm/irq_work.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/irq_work.h b/arch/arm64/include/asm/irq_work.h
new file mode 100644
index 000000000000..8e24ef3f7c82
--- /dev/null
+++ b/arch/arm64/include/asm/irq_work.h
@@ -0,0 +1,11 @@
+#ifndef __ASM_IRQ_WORK_H
+#define __ASM_IRQ_WORK_H
+
+#include <asm/smp.h>
+
+static inline bool arch_irq_work_has_interrupt(void)
+{
+ return !!__smp_cross_call;
+}
+
+#endif /* __ASM_IRQ_WORK_H */