![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _ASM_IRQ_WORK_H 0003 #define _ASM_IRQ_WORK_H 0004 0005 #include <asm/cpufeature.h> 0006 0007 #ifdef CONFIG_X86_LOCAL_APIC 0008 static inline bool arch_irq_work_has_interrupt(void) 0009 { 0010 return boot_cpu_has(X86_FEATURE_APIC); 0011 } 0012 extern void arch_irq_work_raise(void); 0013 #else 0014 static inline bool arch_irq_work_has_interrupt(void) 0015 { 0016 return false; 0017 } 0018 #endif 0019 0020 #endif /* _ASM_IRQ_WORK_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |