summaryrefslogtreecommitdiff
path: root/include/linux/vdso_datastore.h
blob: 13b01baf34972fc3661e10c1e84e1ea45f7c985e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_VDSO_DATASTORE_H
#define _LINUX_VDSO_DATASTORE_H

#include <linux/mm_types.h>

extern const struct vm_special_mapping vdso_vvar_mapping;
struct vm_area_struct *vdso_install_vvar_mapping(struct mm_struct *mm, unsigned long addr);

#ifdef CONFIG_VDSO_DATASTORE
void __init vdso_setup_data_pages(void);
#else /* !CONFIG_VDSO_DATASTORE */
static inline void vdso_setup_data_pages(void) { }
#endif /* CONFIG_VDSO_DATASTORE */

#endif /* _LINUX_VDSO_DATASTORE_H */