Commit e56c642e authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Pavel Emelyanov

vdso: remove per-arch declaration for vdso_redirect_calls

It's the same on all archs (as it's called from generic code),
no need to redeclare it. <parasite-vdso.h> is included in all
per-arch headers. Drop vdso_symtable forward declaration as
<parasite-vdso.h> includes <util-vdso.h> header which defines
the structure.
Signed-off-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 4d1cacec
......@@ -25,12 +25,6 @@ static const char* __maybe_unused aarch_vdso_symbol4 = "__kernel_rt_sigreturn";
aarch_vdso_symbol3, \
aarch_vdso_symbol4
struct vdso_symtable;
extern int vdso_redirect_calls(unsigned long base_to,
unsigned long base_from,
struct vdso_symtable *to,
struct vdso_symtable *from);
extern void write_intraprocedure_branch(unsigned long to, unsigned long from);
#endif /* __CR_ASM_VDSO_H__ */
......@@ -25,10 +25,4 @@
"__kernel_sync_dicache_p5", \
"__kernel_time"
struct vdso_symtable;
extern int vdso_redirect_calls(unsigned long base_to,
unsigned long base_from,
struct vdso_symtable *to,
struct vdso_symtable *from);
#endif /* __CR_ASM_VDSO_H__ */
......@@ -24,10 +24,4 @@
"__kernel_rt_sigreturn"
struct vdso_symtable;
extern int vdso_redirect_calls(unsigned long base_to,
unsigned long base_from,
struct vdso_symtable *to,
struct vdso_symtable *from);
#endif /* __CR_ASM_VDSO_H__ */
......@@ -85,6 +85,8 @@ extern int vdso_proxify(struct vdso_symtable *sym_rt,
unsigned long vdso_rt_parked_at,
VmaEntry *vmas, size_t nr_vmas,
bool compat_vdso, bool force_trampolines);
extern int vdso_redirect_calls(unsigned long base_to, unsigned long base_from,
struct vdso_symtable *to, struct vdso_symtable *from);
#else /* CONFIG_VDSO */
#define vdso_do_park(sym_rt, park_at, park_size) (0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment