/* SPDX-License-Identifier: GPL-2.0-only */#ifndef __ASM_VDSO_PROCESSOR_H#define __ASM_VDSO_PROCESSOR_H#ifndef __ASSEMBLY__staticinlinevoidcpu_relax(void){#ifdef __riscv_muldivintdummy;/* In lieu of a halt instruction, induce a long-latency stall. */__asm____volatile__("div %0, %0, zero":"=r"(dummy));#endifbarrier();}#endif /* __ASSEMBLY__ */#endif /* __ASM_VDSO_PROCESSOR_H */