WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / include / asm / vdso.h
blob5b85889f82eeb422400c039e8b5e8a2a6d4553b3
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_VDSO_H
3 #define __ASM_VDSO_H
5 #ifdef __KERNEL__
7 #ifndef __ASSEMBLY__
9 struct mm_struct;
11 #ifdef CONFIG_VDSO
13 void arm_install_vdso(struct mm_struct *mm, unsigned long addr);
15 extern unsigned int vdso_total_pages;
17 #else /* CONFIG_VDSO */
19 static inline void arm_install_vdso(struct mm_struct *mm, unsigned long addr)
23 #define vdso_total_pages 0
25 #endif /* CONFIG_VDSO */
27 #endif /* __ASSEMBLY__ */
29 #endif /* __KERNEL__ */
31 #endif /* __ASM_VDSO_H */