m68k/mm: Stop printing the virtual memory layout
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 9 Feb 2018 10:14:28 +0000 (11:14 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 19 Mar 2018 09:22:59 +0000 (10:22 +0100)
commit31833332f79876366809ccb0614fee7df8afe9fe
tree9576be61fbf6952097ece201202711771558e297
parenta64138ec15f4361c456563167bae12ed95a68d6b
m68k/mm: Stop printing the virtual memory layout

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

    Memory: 268040K/276480K available (2979K kernel code, 310K rwdata, 784K rodata, 144K init, 172K bss, 8440K reserved, 0K cma-reserved)
    Virtual kernel memory layout:
vector  : 0x003d2e74 - 0x003d3274   (   1 KiB)
kmap    : 0xd0000000 - 0xf0000000   ( 512 MiB)
vmalloc : 0x11800000 - 0xd0000000   (3048 MiB)
lowmem  : 0x00000000 - 0x11000000   ( 272 MiB)
  .init : 0x(ptrval) - 0x(ptrval)   ( 144 KiB)
  .text : 0x(ptrval) - 0x(ptrval)   (2980 KiB)
  .data : 0x(ptrval) - 0x(ptrval)   (1095 KiB)
  .bss  : 0x(ptrval) - 0x(ptrval)   ( 173 KiB)

Instead of changing the printing to "%px", and leaking virtual memory
layout information again, just remove the printing completely, cfr. e.g.
commit 071929dbdd865f77 ("arm64: Stop printing the virtual memory
layout").

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

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/mm/init.c