2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +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:
Alexander Kartashov 2013-01-16 19:10:25 +04:00 committed by Pavel Emelyanov
parent d5bdf54eab
commit 95bcaed4cb
2 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,8 @@
#include "asm/bitops.h"
#include "../protobuf/core.pb-c.h"
/* prctl */
#define ARCH_SET_GS 0x1001
#define ARCH_SET_FS 0x1002
@ -276,4 +278,6 @@ typedef struct {
#define CORE_THREAD_ARCH_INFO(core) core->thread_info
typedef UserX86RegsEntry UserRegsEntry;
#endif /* __CR_ASM_TYPES_H__ */

View File

@ -64,7 +64,7 @@ struct thread_restore_args {
struct restore_mem_zone mem_zone;
int pid;
UserX86RegsEntry gpregs;
UserRegsEntry gpregs;
u64 clear_tid_addr;
bool has_futex;