summaryrefslogtreecommitdiffstats
path: root/mm/madvise.c
diff options
context:
space:
mode:
authorHeiko Carstens2017-02-24 23:55:59 +0100
committerLinus Torvalds2017-02-25 02:46:54 +0100
commit0262d9c845ec349edf93f69688a5129c36cc2232 (patch)
tree2db543e04084d9a8ccbe8bc145de1e88487f6b16 /mm/madvise.c
parentmemblock: also dump physmem list within __memblock_dump_all (diff)
downloadkernel-qcow2-linux-0262d9c845ec349edf93f69688a5129c36cc2232.tar.gz
kernel-qcow2-linux-0262d9c845ec349edf93f69688a5129c36cc2232.tar.xz
kernel-qcow2-linux-0262d9c845ec349edf93f69688a5129c36cc2232.zip
memblock: embed memblock type name within struct memblock_type
Provide the name of each memblock type with struct memblock_type. This allows to get rid of the function memblock_type_name() and duplicating the type names in __memblock_dump_all(). The only memblock_type usage out of mm/memblock.c seems to be arch/s390/kernel/crash_dump.c. While at it, give it a name. Link: http://lkml.kernel.org/r/20170120123456.46508-4-heiko.carstens@de.ibm.com Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Philipp Hachtmann <phacht@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions