[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190201083516.GA21946@infradead.org>
Date: Fri, 1 Feb 2019 00:35:16 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Christophe Leroy <christophe.leroy@....fr>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>,
linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] powerpc: drop page_is_ram() and walk_system_ram_range()
On Thu, Jan 31, 2019 at 07:28:49PM +0000, Christophe Leroy wrote:
> Since commit c40dd2f76644 ("powerpc: Add System RAM to /proc/iomem")
> it is possible to use the generic walk_system_ram_range() and
> the generic page_is_ram().
>
> Fixes: c40dd2f76644 ("powerpc: Add System RAM to /proc/iomem")
> Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
> ---
> arch/powerpc/Kconfig | 3 ---
> arch/powerpc/include/asm/page.h | 1 -
> arch/powerpc/mm/mem.c | 33 ---------------------------------
> 3 files changed, 37 deletions(-)
>
> diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
> index 0a26e0075ce5..0006ca6a7664 100644
> --- a/arch/powerpc/Kconfig
> +++ b/arch/powerpc/Kconfig
> @@ -479,9 +479,6 @@ config ARCH_CPU_PROBE_RELEASE
> config ARCH_ENABLE_MEMORY_HOTPLUG
> def_bool y
>
> -config ARCH_HAS_WALK_MEMORY
> - def_bool y
powerpc was the last architecture to define ARCH_HAS_WALK_MEMORY,
so the symbol can be removed now.
Powered by blists - more mailing lists