vdso.h 468 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef __ASM_VDSO_H
  2. #define __ASM_VDSO_H
  3. #ifdef __KERNEL__
  4. #ifndef __ASSEMBLY__
  5. struct mm_struct;
  6. #ifdef CONFIG_VDSO
  7. void arm_install_vdso(struct mm_struct *mm, unsigned long addr);
  8. extern unsigned int vdso_total_pages;
  9. #else /* CONFIG_VDSO */
  10. static inline void arm_install_vdso(struct mm_struct *mm, unsigned long addr)
  11. {
  12. }
  13. #define vdso_total_pages 0
  14. #endif /* CONFIG_VDSO */
  15. #endif /* __ASSEMBLY__ */
  16. #endif /* __KERNEL__ */
  17. #endif /* __ASM_VDSO_H */