summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/irq_work.h
blob: 8a1ef19077606465de320a46225877b09ac0c96d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_IRQ_WORK_H
#define __ASM_IRQ_WORK_H

#include <asm/smp.h>

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

#endif /* __ASM_IRQ_WORK_H */
OpenPOWER on IntegriCloud