Frederic Weisbecker | 3010279 | 2014-08-16 18:47:15 +0200 | [diff] [blame] | 1 | #ifndef _ASM_IRQ_WORK_H |
| 2 | #define _ASM_IRQ_WORK_H |
| 3 | |
Borislav Petkov | cd4d09e | 2016-01-26 22:12:04 +0100 | [diff] [blame] | 4 | #include <asm/cpufeature.h> |
Frederic Weisbecker | 3010279 | 2014-08-16 18:47:15 +0200 | [diff] [blame] | 5 | |
| 6 | static inline bool arch_irq_work_has_interrupt(void) |
| 7 | { |
Borislav Petkov | 93984fb | 2016-04-04 22:25:00 +0200 | [diff] [blame^] | 8 | return boot_cpu_has(X86_FEATURE_APIC); |
Frederic Weisbecker | 3010279 | 2014-08-16 18:47:15 +0200 | [diff] [blame] | 9 | } |
| 10 | |
| 11 | #endif /* _ASM_IRQ_WORK_H */ |