|
@@ -336,9 +336,9 @@ static unsigned long __init find_function32(struct lib32_elfinfo *lib,
|
|
return sym->st_value - VDSO32_LBASE;
|
|
return sym->st_value - VDSO32_LBASE;
|
|
}
|
|
}
|
|
|
|
|
|
-static int vdso_do_func_patch32(struct lib32_elfinfo *v32,
|
|
|
|
- struct lib64_elfinfo *v64,
|
|
|
|
- const char *orig, const char *fix)
|
|
|
|
|
|
+static int __init vdso_do_func_patch32(struct lib32_elfinfo *v32,
|
|
|
|
+ struct lib64_elfinfo *v64,
|
|
|
|
+ const char *orig, const char *fix)
|
|
{
|
|
{
|
|
Elf32_Sym *sym32_gen, *sym32_fix;
|
|
Elf32_Sym *sym32_gen, *sym32_fix;
|
|
|
|
|
|
@@ -433,9 +433,9 @@ static unsigned long __init find_function64(struct lib64_elfinfo *lib,
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
|
|
|
|
-static int vdso_do_func_patch64(struct lib32_elfinfo *v32,
|
|
|
|
- struct lib64_elfinfo *v64,
|
|
|
|
- const char *orig, const char *fix)
|
|
|
|
|
|
+static int __init vdso_do_func_patch64(struct lib32_elfinfo *v32,
|
|
|
|
+ struct lib64_elfinfo *v64,
|
|
|
|
+ const char *orig, const char *fix)
|
|
{
|
|
{
|
|
Elf64_Sym *sym64_gen, *sym64_fix;
|
|
Elf64_Sym *sym64_gen, *sym64_fix;
|
|
|
|
|