diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2017-05-29 18:31:56 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-06-05 12:59:03 +0300 |
commit | 4386c096c2ffa1b3232d701e9d7ff82a1378e1c5 (patch) | |
tree | b46800936b1cdd40adcc79945cf3a5d29da2cf7b /arch/powerpc/mm/mmu_decl.h | |
parent | d2485644c7836514e337de456b5a6c8a1119fc8b (diff) | |
download | linux-4386c096c2ffa1b3232d701e9d7ff82a1378e1c5.tar.xz |
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/mmu_decl.h')
-rw-r--r-- | arch/powerpc/mm/mmu_decl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/mm/mmu_decl.h b/arch/powerpc/mm/mmu_decl.h index f988db655e5b..d46128b22150 100644 --- a/arch/powerpc/mm/mmu_decl.h +++ b/arch/powerpc/mm/mmu_decl.h @@ -94,7 +94,6 @@ extern void _tlbia(void); #ifdef CONFIG_PPC32 extern void mapin_ram(void); -extern int map_page(unsigned long va, phys_addr_t pa, int flags); extern void setbat(int index, unsigned long virt, phys_addr_t phys, unsigned int size, pgprot_t prot); |