Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.5 20 lines 397 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _ASM_IRQ_WORK_H 3#define _ASM_IRQ_WORK_H 4 5#include <asm/cpufeature.h> 6 7#ifdef CONFIG_X86_LOCAL_APIC 8static inline bool arch_irq_work_has_interrupt(void) 9{ 10 return boot_cpu_has(X86_FEATURE_APIC); 11} 12extern void arch_irq_work_raise(void); 13#else 14static inline bool arch_irq_work_has_interrupt(void) 15{ 16 return false; 17} 18#endif 19 20#endif /* _ASM_IRQ_WORK_H */