It could help to reduce the latency of the time-related functions in user space. We have referenced arm's and riscv's implementation for the patch. Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Cc: Vincent Chen <vincent.chen@sifive.com> Cc: Arnd Bergmann <arnd@arndb.de>
12 lines
239 B
C
12 lines
239 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#ifndef __ASM_VDSO_CSKY_PROCESSOR_H
|
|
#define __ASM_VDSO_CSKY_PROCESSOR_H
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
#define cpu_relax() barrier()
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
#endif /* __ASM_VDSO_CSKY_PROCESSOR_H */
|