vdso.h 503 B

1234567891011121314151617181920212223242526272829303132
  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 char vdso_start, vdso_end;
  9. extern unsigned int vdso_total_pages;
  10. #else /* CONFIG_VDSO */
  11. static inline void arm_install_vdso(struct mm_struct *mm, unsigned long addr)
  12. {
  13. }
  14. #define vdso_total_pages 0
  15. #endif /* CONFIG_VDSO */
  16. #endif /* __ASSEMBLY__ */
  17. #endif /* __KERNEL__ */
  18. #endif /* __ASM_VDSO_H */