swh:1:snp:77163734605b0ec556b01d897b7bb4a7e30d46b6
Raw File
Tip revision: 74d33293e467df61de1b1d8b2fbe29e550dec33b authored by Linus Torvalds on 03 August 2015, 01:34:55 UTC
Linux 4.2-rc5
Tip revision: 74d3329
irq_work.h
#ifndef __ASM_IRQ_WORK_H
#define __ASM_IRQ_WORK_H

#ifdef CONFIG_SMP

#include <asm/smp.h>

static inline bool arch_irq_work_has_interrupt(void)
{
	return !!__smp_cross_call;
}

#else

static inline bool arch_irq_work_has_interrupt(void)
{
	return false;
}

#endif

#endif /* __ASM_IRQ_WORK_H */
back to top