0001
0002 #ifndef __ASM_VDSO_H
0003 #define __ASM_VDSO_H
0004
0005 #ifdef __KERNEL__
0006
0007 #ifndef __ASSEMBLY__
0008
0009 struct mm_struct;
0010
0011 #ifdef CONFIG_VDSO
0012
0013 void arm_install_vdso(struct mm_struct *mm, unsigned long addr);
0014
0015 extern unsigned int vdso_total_pages;
0016
0017 #else
0018
0019 static inline void arm_install_vdso(struct mm_struct *mm, unsigned long addr)
0020 {
0021 }
0022
0023 #define vdso_total_pages 0
0024
0025 #endif
0026
0027 #endif
0028
0029 #endif
0030
0031 #endif