From: Jungseok Lee Date: Sat, 20 Dec 2014 00:49:40 +0000 (+0000) Subject: arm64: mm: Add pgd_page to support RCU fast_gup X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~359^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d96e0cba26323c3daeb9f7cdfd4efe70985e2c6;p=pandora-kernel.git arm64: mm: Add pgd_page to support RCU fast_gup This patch adds pgd_page definition in order to keep supporting HAVE_GENERIC_RCU_GUP configuration. In addition, it changes pud_page expression to align with pmd_page for readability. An introduction of pgd_page resolves the following build breakage under 4KB + 4Level memory management combo. mm/gup.c: In function 'gup_huge_pgd': mm/gup.c:889:2: error: implicit declaration of function 'pgd_page' [-Werror=implicit-function-declaration] head = pgd_page(orig); ^ mm/gup.c:889:7: warning: assignment makes pointer from integer without a cast head = pgd_page(orig); Cc: Will Deacon Cc: Steve Capper Signed-off-by: Jungseok Lee [catalin.marinas@arm.com: remove duplicate pmd_page definition] Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed