Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _LINUX_VDSO_DATASTORE_H
3#define _LINUX_VDSO_DATASTORE_H
4
5#ifdef CONFIG_HAVE_GENERIC_VDSO
6#include <linux/mm_types.h>
7
8extern const struct vm_special_mapping vdso_vvar_mapping;
9struct vm_area_struct *vdso_install_vvar_mapping(struct mm_struct *mm, unsigned long addr);
10
11void __init vdso_setup_data_pages(void);
12#else /* !CONFIG_HAVE_GENERIC_VDSO */
13static inline void vdso_setup_data_pages(void) { }
14#endif /* CONFIG_HAVE_GENERIC_VDSO */
15
16#endif /* _LINUX_VDSO_DATASTORE_H */