]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/x86/include/asm/vdso.h
x86/vdso: Remove runtime 32-bit vDSO selection
[karo-tx-linux.git] / arch / x86 / include / asm / vdso.h
1 #ifndef _ASM_X86_VDSO_H
2 #define _ASM_X86_VDSO_H
3
4 #include <asm/page_types.h>
5 #include <linux/linkage.h>
6 #include <linux/init.h>
7
8 #ifndef __ASSEMBLER__
9
10 #include <linux/mm_types.h>
11
12 struct vdso_image {
13         void *data;
14         unsigned long size;   /* Always a multiple of PAGE_SIZE */
15
16         /* text_mapping.pages is big enough for data/size page pointers */
17         struct vm_special_mapping text_mapping;
18
19         unsigned long alt, alt_len;
20
21         long sym_vvar_start;  /* Negative offset to the vvar area */
22
23         long sym_vvar_page;
24         long sym_hpet_page;
25         long sym_VDSO32_NOTE_MASK;
26         long sym___kernel_sigreturn;
27         long sym___kernel_rt_sigreturn;
28         long sym___kernel_vsyscall;
29 };
30
31 #ifdef CONFIG_X86_64
32 extern const struct vdso_image vdso_image_64;
33 #endif
34
35 #ifdef CONFIG_X86_X32
36 extern const struct vdso_image vdso_image_x32;
37 #endif
38
39 #if defined CONFIG_X86_32 || defined CONFIG_COMPAT
40 extern const struct vdso_image vdso_image_32;
41 #endif
42
43 extern void __init init_vdso_image(const struct vdso_image *image);
44
45 #endif /* __ASSEMBLER__ */
46
47 #endif /* _ASM_X86_VDSO_H */