diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h index a639e7656..acf224c1e 100644 --- a/arch/x86/include/asm/types.h +++ b/arch/x86/include/asm/types.h @@ -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__ */ diff --git a/include/restorer.h b/include/restorer.h index 172d64257..ea3663561 100644 --- a/include/restorer.h +++ b/include/restorer.h @@ -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;