Merge tag 'nfs-for-4.5-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[deliverable/linux.git] / arch / x86 / include / asm / vdso.h
CommitLineData
1965aae3
PA
1#ifndef _ASM_X86_VDSO_H
2#define _ASM_X86_VDSO_H
7f3646aa 3
9e6f450f
AL
4#include <asm/page_types.h>
5#include <linux/linkage.h>
6f121e54 6#include <linux/init.h>
9e6f450f 7
6f121e54 8#ifndef __ASSEMBLER__
9e6f450f 9
a62c34bd
AL
10#include <linux/mm_types.h>
11
6f121e54
AL
12struct vdso_image {
13 void *data;
14 unsigned long size; /* Always a multiple of PAGE_SIZE */
a62c34bd
AL
15
16 /* text_mapping.pages is big enough for data/size page pointers */
17 struct vm_special_mapping text_mapping;
9e6f450f 18
6f121e54 19 unsigned long alt, alt_len;
9e6f450f 20
e6577a7c
AL
21 long sym_vvar_start; /* Negative offset to the vvar area */
22
23 long sym_vvar_page;
24 long sym_hpet_page;
dac16fba 25 long sym_pvclock_page;
e6577a7c
AL
26 long sym_VDSO32_NOTE_MASK;
27 long sym___kernel_sigreturn;
28 long sym___kernel_rt_sigreturn;
29 long sym___kernel_vsyscall;
8242c6c8 30 long sym_int80_landing_pad;
6f121e54 31};
9e6f450f 32
6f121e54
AL
33#ifdef CONFIG_X86_64
34extern const struct vdso_image vdso_image_64;
35#endif
7a59ed41 36
6f121e54
AL
37#ifdef CONFIG_X86_X32
38extern const struct vdso_image vdso_image_x32;
39#endif
7a59ed41 40
6f121e54 41#if defined CONFIG_X86_32 || defined CONFIG_COMPAT
0a6d1fa0 42extern const struct vdso_image vdso_image_32;
6c3652ef 43#endif
7f3646aa 44
6f121e54 45extern void __init init_vdso_image(const struct vdso_image *image);
b4b541a6 46
9e6f450f
AL
47#endif /* __ASSEMBLER__ */
48
1965aae3 49#endif /* _ASM_X86_VDSO_H */
This page took 0.517118 seconds and 5 git commands to generate.