]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: move update_mmu_cache() into asm/pgtable.h
authorWill Deacon <will.deacon@arm.com>
Thu, 16 Jul 2015 18:26:02 +0000 (19:26 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 10:08:39 +0000 (11:08 +0100)
commitac8103eb8f925e7abacc91140387d3e773ba4320
tree8cf0134b9f3111964fc9eaa88ffdb5e16448f4da
parente4e28872bde3377cfcab71330ae8f908bdae2967
arm64: move update_mmu_cache() into asm/pgtable.h

Mark Brown reported an allnoconfig build failure in -next:

  Today's linux-next fails to build an arm64 allnoconfig due to "mm:
  make GUP handle pfn mapping unless FOLL_GET is requested" which
  causes:

  >       arm64-allnoconfig
  > ../mm/gup.c:51:4: error: implicit declaration of function
    'update_mmu_cache' [-Werror=implicit-function-declaration]

Fix the error by moving the function to asm/pgtable.h, as is the case
for most other architectures.

Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/pgtable.h
arch/arm64/include/asm/tlbflush.h