xref: /linux/arch/arm64/include/asm/irq_work.h (revision b24413180f5600bcb3bb70fbed5cf186b60864bd)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
236310736SFrederic Weisbecker #ifndef __ASM_IRQ_WORK_H
336310736SFrederic Weisbecker #define __ASM_IRQ_WORK_H
436310736SFrederic Weisbecker 
536310736SFrederic Weisbecker #include <asm/smp.h>
636310736SFrederic Weisbecker 
736310736SFrederic Weisbecker static inline bool arch_irq_work_has_interrupt(void)
836310736SFrederic Weisbecker {
936310736SFrederic Weisbecker 	return !!__smp_cross_call;
1036310736SFrederic Weisbecker }
1136310736SFrederic Weisbecker 
1236310736SFrederic Weisbecker #endif /* __ASM_IRQ_WORK_H */
13