diff options
Diffstat (limited to 'include/linux/vdso_datastore.h')
| -rw-r--r-- | include/linux/vdso_datastore.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/vdso_datastore.h b/include/linux/vdso_datastore.h index a91fa24b06e0..13b01baf3497 100644 --- a/include/linux/vdso_datastore.h +++ b/include/linux/vdso_datastore.h @@ -7,4 +7,10 @@ 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 */ |
