Commit f2bc172f authored by Laurent Dufour's avatar Laurent Dufour Committed by Pavel Emelyanov

ppc64: fixing build issue

The commit 69d008d5 ("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: 's avatarLaurent Dufour <ldufour@linux.vnet.ibm.com>
CC: Christopher Covington <cov@codeaurora.org>
Reviewed-by: 's avatarChristopher Covington <cov@codeaurora.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 83f79c7e
#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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment