18 lines
307 B
C
18 lines
307 B
C
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||
|
/*
|
||
|
* Copyright (C) 2020 ARM Ltd.
|
||
|
*/
|
||
|
#ifndef __ASM_VDSO_PROCESSOR_H
|
||
|
#define __ASM_VDSO_PROCESSOR_H
|
||
|
|
||
|
#ifndef __ASSEMBLY__
|
||
|
|
||
|
static inline void cpu_relax(void)
|
||
|
{
|
||
|
asm volatile("yield" ::: "memory");
|
||
|
}
|
||
|
|
||
|
#endif /* __ASSEMBLY__ */
|
||
|
|
||
|
#endif /* __ASM_VDSO_PROCESSOR_H */
|