mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
Support for arch_irq_work_raise() and arch_irq_work_has_interrupt() was missing from riscv (a prerequisite for FULL_NOHZ). Signed-off-by: Greentime Hu <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
11 lines
245 B
C
11 lines
245 B
C
/* 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 true;
|
|
}
|
|
extern void arch_irq_work_raise(void);
|
|
#endif /* _ASM_RISCV_IRQ_WORK_H */
|