mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-01 23:05:39 +00:00
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: Dmitry Safonov <dsafonov@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
4d1cacec3c
commit
e56c642e3f
@@ -25,12 +25,6 @@ static const char* __maybe_unused aarch_vdso_symbol4 = "__kernel_rt_sigreturn";
|
|||||||
aarch_vdso_symbol3, \
|
aarch_vdso_symbol3, \
|
||||||
aarch_vdso_symbol4
|
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);
|
extern void write_intraprocedure_branch(unsigned long to, unsigned long from);
|
||||||
|
|
||||||
#endif /* __CR_ASM_VDSO_H__ */
|
#endif /* __CR_ASM_VDSO_H__ */
|
||||||
|
@@ -25,10 +25,4 @@
|
|||||||
"__kernel_sync_dicache_p5", \
|
"__kernel_sync_dicache_p5", \
|
||||||
"__kernel_time"
|
"__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__ */
|
#endif /* __CR_ASM_VDSO_H__ */
|
||||||
|
@@ -24,10 +24,4 @@
|
|||||||
"__kernel_rt_sigreturn"
|
"__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__ */
|
#endif /* __CR_ASM_VDSO_H__ */
|
||||||
|
@@ -85,6 +85,8 @@ extern int vdso_proxify(struct vdso_symtable *sym_rt,
|
|||||||
unsigned long vdso_rt_parked_at,
|
unsigned long vdso_rt_parked_at,
|
||||||
VmaEntry *vmas, size_t nr_vmas,
|
VmaEntry *vmas, size_t nr_vmas,
|
||||||
bool compat_vdso, bool force_trampolines);
|
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 */
|
#else /* CONFIG_VDSO */
|
||||||
#define vdso_do_park(sym_rt, park_at, park_size) (0)
|
#define vdso_do_park(sym_rt, park_at, park_size) (0)
|
||||||
|
Reference in New Issue
Block a user