mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +00:00
include/restorer.h: use the alias UserRegsEntry for UserX86RegsEntry
Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
d5bdf54eab
commit
95bcaed4cb
@@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
#include "asm/bitops.h"
|
#include "asm/bitops.h"
|
||||||
|
|
||||||
|
#include "../protobuf/core.pb-c.h"
|
||||||
|
|
||||||
/* prctl */
|
/* prctl */
|
||||||
#define ARCH_SET_GS 0x1001
|
#define ARCH_SET_GS 0x1001
|
||||||
#define ARCH_SET_FS 0x1002
|
#define ARCH_SET_FS 0x1002
|
||||||
@@ -276,4 +278,6 @@ typedef struct {
|
|||||||
|
|
||||||
#define CORE_THREAD_ARCH_INFO(core) core->thread_info
|
#define CORE_THREAD_ARCH_INFO(core) core->thread_info
|
||||||
|
|
||||||
|
typedef UserX86RegsEntry UserRegsEntry;
|
||||||
|
|
||||||
#endif /* __CR_ASM_TYPES_H__ */
|
#endif /* __CR_ASM_TYPES_H__ */
|
||||||
|
@@ -64,7 +64,7 @@ struct thread_restore_args {
|
|||||||
struct restore_mem_zone mem_zone;
|
struct restore_mem_zone mem_zone;
|
||||||
|
|
||||||
int pid;
|
int pid;
|
||||||
UserX86RegsEntry gpregs;
|
UserRegsEntry gpregs;
|
||||||
u64 clear_tid_addr;
|
u64 clear_tid_addr;
|
||||||
|
|
||||||
bool has_futex;
|
bool has_futex;
|
||||||
|
Reference in New Issue
Block a user