[CRIU] [PATCH] ppc64: fixing build issue
Christopher Covington
cov at codeaurora.org
Wed Aug 26 09:17:29 PDT 2015
On 08/26/2015 09:41 AM, Laurent Dufour wrote:
> The commit 69d008d56788 ("Use run-time page_size() for mremap")
> introduces the use of dynamic page size in rst-malloc.c.
>
> The commit also add the include of unistd.h in
> arch/aarch64/include/asm/page.h to allow the build to succeed on this
> architecture. Since ppc64 is also using the same way to deal with page
> size, the same include is required in arch/ppc64/include/asm/page.h
>
> Signed-off-by: Laurent Dufour <ldufour at linux.vnet.ibm.com>
> CC: Christopher Covington <cov at codeaurora.org>
> ---
> arch/ppc64/include/asm/page.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/ppc64/include/asm/page.h b/arch/ppc64/include/asm/page.h
> index 0df1c5734998..9d10455f1c47 100644
> --- a/arch/ppc64/include/asm/page.h
> +++ b/arch/ppc64/include/asm/page.h
> @@ -1,6 +1,8 @@
> #ifndef __CR_ASM_PAGE_H__
> #define __CR_ASM_PAGE_H__
>
> +#include <unistd.h>
> +
> /*
> * Default config for Pseries is to use 64K pages.
> * See kernel file arch/powerpc/configs/pseries_*defconfig
>
Apologies for the breakage.
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