mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 08:58:07 +00:00
720909a7ab
Convert various system vectors to IDTENTRY_SYSVEC: - Implement the C entry point with DEFINE_IDTENTRY_SYSVEC - Emit the ASM stub with DECLARE_IDTENTRY_SYSVEC - Remove the ASM idtentries in 64-bit - Remove the BUILD_INTERRUPT entries in 32-bit - Remove the old prototypes No functional change. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Andy Lutomirski <luto@kernel.org> Link: https://lore.kernel.org/r/20200521202119.464812973@linutronix.de
20 lines
397 B
C
20 lines
397 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_IRQ_WORK_H
|
|
#define _ASM_IRQ_WORK_H
|
|
|
|
#include <asm/cpufeature.h>
|
|
|
|
#ifdef CONFIG_X86_LOCAL_APIC
|
|
static inline bool arch_irq_work_has_interrupt(void)
|
|
{
|
|
return boot_cpu_has(X86_FEATURE_APIC);
|
|
}
|
|
extern void arch_irq_work_raise(void);
|
|
#else
|
|
static inline bool arch_irq_work_has_interrupt(void)
|
|
{
|
|
return false;
|
|
}
|
|
#endif
|
|
|
|
#endif /* _ASM_IRQ_WORK_H */
|