[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170530113332.763d10ac@firefly.ozlabs.ibm.com>
Date: Tue, 30 May 2017 11:33:32 +1000
From: Balbir Singh <bsingharora@...il.com>
To: Christophe Leroy <christophe.leroy@....fr>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>,
Scott Wood <oss@...error.net>, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH 1/7] powerpc/mm: rename map_page() to map_kernel_page()
on PPC32
On Mon, 29 May 2017 17:31:56 +0200 (CEST)
Christophe Leroy <christophe.leroy@....fr> wrote:
> Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
> ---
...
> diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
> index de5a90e1ceaa..8e9bef964dbf 100644
> --- a/arch/powerpc/mm/mem.c
> +++ b/arch/powerpc/mm/mem.c
> @@ -305,11 +305,11 @@ void __init paging_init(void)
> unsigned long end = __fix_to_virt(FIX_HOLE);
>
> for (; v < end; v += PAGE_SIZE)
> - map_page(v, 0, 0); /* XXX gross */
> + map_kernel_page(v, 0, 0); /* XXX gross */
What is 0, 0? Everything maps to physical address 0 with 0 permissions?
Thanks for doing this
Acked-by: Balbir Singh <bsingharora@...il.com>
Balbir
Powered by blists - more mailing lists