diff options
Diffstat (limited to 'arch/x86/vdso/vdso2c.c')
-rw-r--r-- | arch/x86/vdso/vdso2c.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/x86/vdso/vdso2c.c b/arch/x86/vdso/vdso2c.c index 976e8e4ced92..81edd1ec9df8 100644 --- a/arch/x86/vdso/vdso2c.c +++ b/arch/x86/vdso/vdso2c.c | |||
@@ -15,7 +15,21 @@ | |||
15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
16 | 16 | ||
17 | /* Symbols that we need in vdso2c. */ | 17 | /* Symbols that we need in vdso2c. */ |
18 | enum { | ||
19 | sym_vvar_page, | ||
20 | sym_hpet_page, | ||
21 | sym_end_mapping, | ||
22 | }; | ||
23 | |||
24 | const int special_pages[] = { | ||
25 | sym_vvar_page, | ||
26 | sym_hpet_page, | ||
27 | }; | ||
28 | |||
18 | char const * const required_syms[] = { | 29 | char const * const required_syms[] = { |
30 | [sym_vvar_page] = "vvar_page", | ||
31 | [sym_hpet_page] = "hpet_page", | ||
32 | [sym_end_mapping] = "end_mapping", | ||
19 | "VDSO32_NOTE_MASK", | 33 | "VDSO32_NOTE_MASK", |
20 | "VDSO32_SYSENTER_RETURN", | 34 | "VDSO32_SYSENTER_RETURN", |
21 | "__kernel_vsyscall", | 35 | "__kernel_vsyscall", |