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