mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-22 06:36:17 +00:00
15 lines
244 B
C
15 lines
244 B
C
|
|
#ifndef __ASM_IRQ_WORK_H
|
||
|
|
#define __ASM_IRQ_WORK_H
|
||
|
|
|
||
|
|
static inline bool arch_irq_work_has_interrupt(void)
|
||
|
|
{
|
||
|
|
#ifdef CONFIG_SMP
|
||
|
|
extern bool self_interrupt_ok;
|
||
|
|
return self_interrupt_ok;
|
||
|
|
#else
|
||
|
|
return false;
|
||
|
|
#endif
|
||
|
|
}
|
||
|
|
|
||
|
|
#endif /* __ASM_IRQ_WORK_H */
|