diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2023-06-30 08:22:52 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-18 19:12:02 +0200 |
commit | 527ed4f7d902d362471a93e1a4afb604c18ceb48 (patch) | |
tree | 490748146dd6f8a433fdbbcadb746290e7368b8a /arch/sparc/kernel | |
parent | mm: make MEMFD_CREATE into a selectable config option (diff) | |
download | linux-527ed4f7d902d362471a93e1a4afb604c18ceb48.tar.xz linux-527ed4f7d902d362471a93e1a4afb604c18ceb48.zip |
mm: remove arguments of show_mem()
All callers of show_mem() pass 0 and NULL, so we can remove the two
arguments by directly calling __show_mem(0, NULL, MAX_NR_ZONES - 1) in
show_mem().
Link: https://lkml.kernel.org/r/20230630062253.189440-1-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/sparc/kernel')
0 files changed, 0 insertions, 0 deletions