Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
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 /* CONFIG_VDSO */
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 /* CONFIG_VDSO */
0026 
0027 #endif /* __ASSEMBLY__ */
0028 
0029 #endif /* __KERNEL__ */
0030 
0031 #endif /* __ASM_VDSO_H */