All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: mm: remove unused dtcm_end / itcm_end
@ 2019-06-11  5:43 Kuninori Morimoto
  2019-06-11  7:28 ` Geert Uytterhoeven
  0 siblings, 1 reply; 3+ messages in thread
From: Kuninori Morimoto @ 2019-06-11  5:43 UTC (permalink / raw
  To: Linux-ARM; +Cc: Russell King, Kees Cook, Geert Uytterhoeven


From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

commit 1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual
memory layout") removed last user of dtcm_end / itcm_end.
There is no user of these, let's remove.

Fixes: commit 1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual memory layout")
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 arch/arm/mm/init.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
index be0b429..c71ecbb 100644
--- a/arch/arm/mm/init.c
+++ b/arch/arm/mm/init.c
@@ -450,12 +450,6 @@ static void __init free_highpages(void)
  */
 void __init mem_init(void)
 {
-#ifdef CONFIG_HAVE_TCM
-	/* These pointers are filled in on TCM detection */
-	extern u32 dtcm_end;
-	extern u32 itcm_end;
-#endif
-
 	set_max_mapnr(pfn_to_page(max_pfn) - mem_map);
 
 	/* this will put all unused low memory onto the freelists */
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: mm: remove unused dtcm_end / itcm_end
  2019-06-11  5:43 [PATCH] ARM: mm: remove unused dtcm_end / itcm_end Kuninori Morimoto
@ 2019-06-11  7:28 ` Geert Uytterhoeven
  2019-06-11  8:40   ` Kuninori Morimoto
  0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2019-06-11  7:28 UTC (permalink / raw
  To: Kuninori Morimoto; +Cc: Russell King, Geert Uytterhoeven, Kees Cook, Linux-ARM

Hi Morimoto-san,

On Tue, Jun 11, 2019 at 7:43 AM Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> commit 1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual
> memory layout") removed last user of dtcm_end / itcm_end.
> There is no user of these, let's remove.
>
> Fixes: commit 1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual memory layout")
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Thanks for your patch, but this is a duplicate of
"[PATCH] ARM: mm: remove unused variables"
https://lore.kernel.org/lkml/20190512114105.41792-1-yuehaibing@huawei.com/

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: mm: remove unused dtcm_end / itcm_end
  2019-06-11  7:28 ` Geert Uytterhoeven
@ 2019-06-11  8:40   ` Kuninori Morimoto
  0 siblings, 0 replies; 3+ messages in thread
From: Kuninori Morimoto @ 2019-06-11  8:40 UTC (permalink / raw
  To: Geert Uytterhoeven; +Cc: Russell King, Geert Uytterhoeven, Kees Cook, Linux-ARM


Hi Geert

> > From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> >
> > commit 1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual
> > memory layout") removed last user of dtcm_end / itcm_end.
> > There is no user of these, let's remove.
> >
> > Fixes: commit 1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual memory layout")
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> Thanks for your patch, but this is a duplicate of
> "[PATCH] ARM: mm: remove unused variables"
> https://lore.kernel.org/lkml/20190512114105.41792-1-yuehaibing@huawei.com/

OK, nice to know.
I couldn't find it at linux-next

Thank you for your help !!
Best regards
---
Kuninori Morimoto

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-11  8:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-11  5:43 [PATCH] ARM: mm: remove unused dtcm_end / itcm_end Kuninori Morimoto
2019-06-11  7:28 ` Geert Uytterhoeven
2019-06-11  8:40   ` Kuninori Morimoto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.