[CRIU] [PATCH 05/23] include/restorer.h: use the alias UserRegsEntry for UserX86RegsEntry
Pavel Emelyanov
xemul at parallels.com
Mon Jan 14 05:14:52 EST 2013
On 01/14/2013 11:25 AM, Alexander Kartashov wrote:
>
> Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
> ---
> arch/x86/include/asm/types.h | 2 ++
> include/restorer.h | 2 +-
> 2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h
> index bbaf3c7..1a6c601 100644
> --- a/arch/x86/include/asm/types.h
> +++ b/arch/x86/include/asm/types.h
> @@ -266,4 +266,6 @@ typedef struct {
> #define REG_RES(regs) ((regs).ax)
> #define REG_IP(regs) ((regs).ip)
>
> +#define UserRegsEntry UserX86RegsEntry
Can it be a typedef instead?
> +
> #endif /* __CR_ASM_TYPES_H__ */
> diff --git a/include/restorer.h b/include/restorer.h
> index c3f2e83..c952314 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;
>
More information about the CRIU
mailing list