summaryrefslogtreecommitdiff
path: root/arch/tile/include/asm/irq_work.h
blob: 48af33a61a2ca75f5c6183c83d338d1f97dd622b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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 */