xref: /kernel/linux/linux-5.10/arch/arm/include/asm/vdso.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/arm/include/asm/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef __ASM_VDSO_H
38c2ecf20Sopenharmony_ci#define __ASM_VDSO_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#ifdef __KERNEL__
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#ifndef __ASSEMBLY__
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cistruct mm_struct;
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#ifdef CONFIG_VDSO
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_civoid arm_install_vdso(struct mm_struct *mm, unsigned long addr);
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciextern unsigned int vdso_total_pages;
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci#else /* CONFIG_VDSO */
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_cistatic inline void arm_install_vdso(struct mm_struct *mm, unsigned long addr)
208c2ecf20Sopenharmony_ci{
218c2ecf20Sopenharmony_ci}
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci#define vdso_total_pages 0
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci#endif /* CONFIG_VDSO */
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci#endif /* __ASSEMBLY__ */
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci#endif /* __KERNEL__ */
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci#endif /* __ASM_VDSO_H */
32

Indexes created Thu Nov 07 10:32:03 CST 2024