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

static inline bool arch_irq_work_has_interrupt(void)
{
	return IS_ENABLED(CONFIG_SMP);
}

#endif /* _ASM_RISCV_IRQ_WORK_H */