Warning: This file is not a C or C++ file. It does not have highlighting.
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
|---|---|
| 2 | /* |
| 3 | * Copyright (C) 2020 ARM Ltd. |
| 4 | */ |
| 5 | #ifndef __ASM_VDSO_PROCESSOR_H |
| 6 | #define __ASM_VDSO_PROCESSOR_H |
| 7 | |
| 8 | #ifndef __ASSEMBLER__ |
| 9 | |
| 10 | static inline void cpu_relax(void) |
| 11 | { |
| 12 | asm volatile("yield" ::: "memory"); |
| 13 | } |
| 14 | |
| 15 | #endif /* __ASSEMBLER__ */ |
| 16 | |
| 17 | #endif /* __ASM_VDSO_PROCESSOR_H */ |
| 18 |
Warning: This file is not a C or C++ file. It does not have highlighting.
