]> git.baikalelectronics.ru Git - kernel.git/commit
unicore32: stop printing the virtual memory layout
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 8 Mar 2019 00:31:21 +0000 (16:31 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Mar 2019 02:32:03 +0000 (18:32 -0800)
commit5e1335a9ac29e85150840892116768cae7a86da9
tree10ffb3bd6c9ea794f889acd9bcf8b290c025cff2
parent58781fc7dd34e4f4531894df7136264fba7d6e29
unicore32: stop printing the virtual memory layout

Since commit c50104c2c22f ("printk: hash addresses printed with %p"),
the virtual memory layout printed during boot up contains "ptrval"
instead of actual addresses.

Instead of changing the printing to "%px", and leaking virtual memory
layout information again, just remove the printing completely, cfr.
e.g.  commits d348227135b3 ("arm64: Stop printing the virtual memory
layout") and 12f24912cbf3 ("m68k/mm: Stop printing the virtual memory
layout").

All interesting information (actual section sizes) is already printed by
mem_init_print_info() just above anyway.

Link: http://lkml.kernel.org/r/20190121152254.29079-1-geert+renesas@glider.be
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: Guan Xuetao <gxt@pku.edu.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/unicore32/mm/init.c