11713ce7cSNathan Lynch #ifndef __ASM_VDSO_H 21713ce7cSNathan Lynch #define __ASM_VDSO_H 31713ce7cSNathan Lynch 41713ce7cSNathan Lynch #ifdef __KERNEL__ 51713ce7cSNathan Lynch 61713ce7cSNathan Lynch #ifndef __ASSEMBLY__ 71713ce7cSNathan Lynch 81713ce7cSNathan Lynch struct mm_struct; 91713ce7cSNathan Lynch 101713ce7cSNathan Lynch #ifdef CONFIG_VDSO 111713ce7cSNathan Lynch 121713ce7cSNathan Lynch void arm_install_vdso(struct mm_struct *mm, unsigned long addr); 131713ce7cSNathan Lynch 141713ce7cSNathan Lynch extern char vdso_start, vdso_end; 151713ce7cSNathan Lynch 161713ce7cSNathan Lynch extern unsigned int vdso_total_pages; 171713ce7cSNathan Lynch 181713ce7cSNathan Lynch #else /* CONFIG_VDSO */ 191713ce7cSNathan Lynch 201713ce7cSNathan Lynch static inline void arm_install_vdso(struct mm_struct *mm, unsigned long addr) 211713ce7cSNathan Lynch { 221713ce7cSNathan Lynch } 231713ce7cSNathan Lynch 241713ce7cSNathan Lynch #define vdso_total_pages 0 251713ce7cSNathan Lynch 261713ce7cSNathan Lynch #endif /* CONFIG_VDSO */ 271713ce7cSNathan Lynch 281713ce7cSNathan Lynch #endif /* __ASSEMBLY__ */ 291713ce7cSNathan Lynch 301713ce7cSNathan Lynch #endif /* __KERNEL__ */ 311713ce7cSNathan Lynch 321713ce7cSNathan Lynch #endif /* __ASM_VDSO_H */ 33