Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
b340c656 CM |
2 | #ifndef __ASM_IRQ_WORK_H |
3 | #define __ASM_IRQ_WORK_H | |
4 | ||
5 | static inline bool arch_irq_work_has_interrupt(void) | |
6 | { | |
7 | #ifdef CONFIG_SMP | |
8 | extern bool self_interrupt_ok; | |
9 | return self_interrupt_ok; | |
10 | #else | |
11 | return false; | |
12 | #endif | |
13 | } | |
14 | ||
15 | #endif /* __ASM_IRQ_WORK_H */ |