blob: f70604125286b90d820bc14be0b65ecccb4f7a44 [file] [log] [blame]
Frederic Weisbecker30102792014-08-16 18:47:15 +02001#ifndef _ASM_IRQ_WORK_H
2#define _ASM_IRQ_WORK_H
3
Borislav Petkovcd4d09e2016-01-26 22:12:04 +01004#include <asm/cpufeature.h>
Frederic Weisbecker30102792014-08-16 18:47:15 +02005
6static inline bool arch_irq_work_has_interrupt(void)
7{
Borislav Petkov93984fb2016-04-04 22:25:00 +02008 return boot_cpu_has(X86_FEATURE_APIC);
Frederic Weisbecker30102792014-08-16 18:47:15 +02009}
10
11#endif /* _ASM_IRQ_WORK_H */