[CRIU] [PATCH] aarch64: fix undefined "struct user_regs_struct_t" error

Christopher Covington cov at codeaurora.org
Tue Apr 14 05:37:34 PDT 2015


On 04/14/2015 01:41 PM, Yixun Lan wrote:
> tested under Gentoo Linux, with sys-kernel/linux-headers-3.19 installed
> "struct user_pt_regs" is defined at file /usr/include/asm/ptrace.h
> 
> Signed-off-by: Yixun Lan <yixun.lan at gmail.com>

> diff --git a/arch/aarch64/include/asm/types.h b/arch/aarch64/include/asm/types.h
> index 8dd336e..6657279 100644
> --- a/arch/aarch64/include/asm/types.h
> +++ b/arch/aarch64/include/asm/types.h
> @@ -3,6 +3,7 @@
>  
>  #include <stdbool.h>
>  #include <signal.h>
> +#include <asm/ptrace.h>
>  #include "protobuf/core.pb-c.h"
>  
>  #include "asm-generic/page.h"
> 

Looks good to me. Thanks!

Reviewed-by: Christopher Covington <cov at codeaurora.org>

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


More information about the CRIU mailing list