diff options
author | Jungseok Lee <jungseoklee85@gmail.com> | 2014-12-20 03:49:40 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2014-12-23 19:39:17 +0300 |
commit | 5d96e0cba26323c3daeb9f7cdfd4efe70985e2c6 (patch) | |
tree | f1498d3f1ce6f7a848b70f0ac3afa03fa919f0ba /fs/jfs/jfs_xtree.h | |
parent | f7bf130ecd01f6c9d95c02c7a83d5d9dc263b0c9 (diff) | |
download | linux-5d96e0cba26323c3daeb9f7cdfd4efe70985e2c6.tar.xz |
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 <will.deacon@arm.com>
Cc: Steve Capper <steve.capper@linaro.org>
Signed-off-by: Jungseok Lee <jungseoklee85@gmail.com>
[catalin.marinas@arm.com: remove duplicate pmd_page definition]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'fs/jfs/jfs_xtree.h')
0 files changed, 0 insertions, 0 deletions