perf tools: Don't clone maps from parent when synthesizing forks
[linux/fpc-iii.git] / arch / nds32 / include / asm / vdso.h
blobaf2c6afc2469253fc6df5c3aadd305de3a44424c
1 /*
2 * SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2005-2017 Andes Technology Corporation
4 */
6 #ifndef __ASM_VDSO_H
7 #define __ASM_VDSO_H
9 #ifdef __KERNEL__
11 #ifndef __ASSEMBLY__
13 #include <generated/vdso-offsets.h>
15 #define VDSO_SYMBOL(base, name) \
16 ({ \
17 (unsigned long)(vdso_offset_##name + (unsigned long)(base)); \
20 #endif /* !__ASSEMBLY__ */
22 #endif /* __KERNEL__ */
24 #endif /* __ASM_VDSO_H */