Merge tag 'pm-4.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
[linux/fpc-iii.git] / arch / x86 / include / asm / vdso.h
blobbccdf4938ddf3df0d78dd20a2b40623960f47f01
1 #ifndef _ASM_X86_VDSO_H
2 #define _ASM_X86_VDSO_H
4 #include <asm/page_types.h>
5 #include <linux/linkage.h>
6 #include <linux/init.h>
8 #ifndef __ASSEMBLER__
10 #include <linux/mm_types.h>
12 struct vdso_image {
13 void *data;
14 unsigned long size; /* Always a multiple of PAGE_SIZE */
16 unsigned long alt, alt_len;
18 long sym_vvar_start; /* Negative offset to the vvar area */
20 long sym_vvar_page;
21 long sym_hpet_page;
22 long sym_pvclock_page;
23 long sym_hvclock_page;
24 long sym_VDSO32_NOTE_MASK;
25 long sym___kernel_sigreturn;
26 long sym___kernel_rt_sigreturn;
27 long sym___kernel_vsyscall;
28 long sym_int80_landing_pad;
31 #ifdef CONFIG_X86_64
32 extern const struct vdso_image vdso_image_64;
33 #endif
35 #ifdef CONFIG_X86_X32
36 extern const struct vdso_image vdso_image_x32;
37 #endif
39 #if defined CONFIG_X86_32 || defined CONFIG_COMPAT
40 extern const struct vdso_image vdso_image_32;
41 #endif
43 extern void __init init_vdso_image(const struct vdso_image *image);
45 extern int map_vdso_once(const struct vdso_image *image, unsigned long addr);
47 #endif /* __ASSEMBLER__ */
49 #endif /* _ASM_X86_VDSO_H */