Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Dufour <ldufour@linux.vnet.ibm.com>2015-08-26 16:41:00 +0300
committerPavel Emelyanov <xemul@parallels.com>2015-09-01 12:30:56 +0300
commitf2bc172f67e83f99cafa59e866f2c312cb5b6b56 (patch)
tree9e862a153a1aa5c1cca334d9d486f913cfdec33d
parent83f79c7e8ccd4e8735c39d0d010fca7d02814001 (diff)
ppc64: fixing build issue
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@linux.vnet.ibm.com> CC: Christopher Covington <cov@codeaurora.org> Reviewed-by: Christopher Covington <cov@codeaurora.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
-rw-r--r--arch/ppc64/include/asm/page.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ppc64/include/asm/page.h b/arch/ppc64/include/asm/page.h
index 0df1c5734..9d10455f1 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