![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * Copyright (C) 2020 ARM Ltd. 0004 */ 0005 #ifndef __ASM_VDSO_PROCESSOR_H 0006 #define __ASM_VDSO_PROCESSOR_H 0007 0008 #ifndef __ASSEMBLY__ 0009 0010 #if __LINUX_ARM_ARCH__ == 6 || defined(CONFIG_ARM_ERRATA_754327) 0011 #define cpu_relax() \ 0012 do { \ 0013 smp_mb(); \ 0014 __asm__ __volatile__("nop; nop; nop; nop; nop; nop; nop; nop; nop; nop;"); \ 0015 } while (0) 0016 #else 0017 #define cpu_relax() barrier() 0018 #endif 0019 0020 #endif /* __ASSEMBLY__ */ 0021 0022 #endif /* __ASM_VDSO_PROCESSOR_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |