percpu: stop printing kernel addresses
authorMatteo Croce <mcroce@redhat.com>
Mon, 18 Mar 2019 01:32:36 +0000 (02:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Apr 2019 07:34:47 +0000 (09:34 +0200)
commit2c4ae3a694fabfc19b0fc6e65d530a7cdb542bda
tree9dc363691716740f169b8f3653273e456a4ebc6d
parenta9f62dc69942e2a9aeedd9f5d238674cf1882138
percpu: stop printing kernel addresses

commit 00206a69ee32f03e6f40837684dcbe475ea02266 upstream.

Since commit ad67b74d2469d9b8 ("printk: hash addresses printed with %p"),
at boot "____ptrval____" is printed instead of actual addresses:

    percpu: Embedded 38 pages/cpu @(____ptrval____) s124376 r0 d31272 u524288

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

Signed-off-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: Dennis Zhou <dennis@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mm/percpu.c