mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-19 01:26:22 +00:00
This facrots out common core members freeing into pstree.c helper. Per-arch freeing helpers are now symmetrical to the allocating ones. This is a merge of two Cyrill's patches. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
14 lines
341 B
C
14 lines
341 B
C
#ifndef __CR_ASM_DUMP_H__
|
|
#define __CR_ASM_DUMP_H__
|
|
|
|
extern int get_task_regs(pid_t pid, CoreEntry *core, const struct parasite_ctl *ctl);
|
|
extern int arch_alloc_thread_info(CoreEntry *core);
|
|
extern void arch_free_thread_info(CoreEntry *core);
|
|
|
|
|
|
static inline void core_put_tls(CoreEntry *core, u32 tls)
|
|
{
|
|
core->ti_arm->tls = tls;
|
|
}
|
|
|
|
#endif
|