]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Drop page_is_ram() and walk_system_ram_range()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 1 Feb 2019 10:46:52 +0000 (10:46 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 4 Feb 2019 10:22:06 +0000 (21:22 +1100)
commit63ad8cee9b5dc86f8f3b3938c579895be1459cd9
tree0ede1cde788a863a2b39634b07f6aef6432762ab
parent51f4ce7db07fe0263e357b532f4c8a8ae90302bb
powerpc: Drop page_is_ram() and walk_system_ram_range()

Since commit 9083b55031a3 ("powerpc: Add System RAM to /proc/iomem")
it is possible to use the generic walk_system_ram_range() and
the generic page_is_ram().

To enable the use of walk_system_ram_range() by the IBM EHEA ethernet
driver, we still need an export of the generic function.

As powerpc was the only user of CONFIG_ARCH_HAS_WALK_MEMORY, the
ifdef around the generic walk_system_ram_range() has become useless
and can be dropped.

Fixes: 9083b55031a3 ("powerpc: Add System RAM to /proc/iomem")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Keep the EXPORT_SYMBOL_GPL in powerpc code]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig
arch/powerpc/include/asm/page.h
arch/powerpc/mm/mem.c
kernel/resource.c