diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2017-05-29 17:31:56 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-06-05 11:59:03 +0200 |
commit | 4386c096c2ffa1b3232d701e9d7ff82a1378e1c5 (patch) | |
tree | b46800936b1cdd40adcc79945cf3a5d29da2cf7b /arch/powerpc/mm/8xx_mmu.c | |
parent | powerpc/mm/hugetlb: Add support for page accounting (diff) | |
download | linux-4386c096c2ffa1b3232d701e9d7ff82a1378e1c5.tar.xz linux-4386c096c2ffa1b3232d701e9d7ff82a1378e1c5.zip |
powerpc/mm: Rename map_page() to map_kernel_page() on 32-bit
These two functions implement the same semantics, so unify their naming so we
can share code that calls them. The longer name is more descriptive so use it.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/8xx_mmu.c')
-rw-r--r-- | arch/powerpc/mm/8xx_mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/8xx_mmu.c b/arch/powerpc/mm/8xx_mmu.c index 6c5025e81236..f4c6472f2fc4 100644 --- a/arch/powerpc/mm/8xx_mmu.c +++ b/arch/powerpc/mm/8xx_mmu.c @@ -88,7 +88,7 @@ static void mmu_mapin_immr(void) int offset; for (offset = 0; offset < IMMR_SIZE; offset += PAGE_SIZE) - map_page(v + offset, p + offset, f); + map_kernel_page(v + offset, p + offset, f); } /* Address of instructions to patch */ |