memblock: let memblock_type_name know about physmem type
authorHeiko Carstens <[email protected]>
Fri, 24 Feb 2017 22:55:54 +0000 (14:55 -0800)
committerLinus Torvalds <[email protected]>
Sat, 25 Feb 2017 01:46:53 +0000 (17:46 -0800)
commit7409c5f738c879f7595b46314635c02c4c162484
tree8465e72624d3a19ad780ffdbdbabcb6d3e3bbd26
parent997126bbc58e432e5f26ecec4498229003df1c66
memblock: let memblock_type_name know about physmem type

Since commit 70210ed950b5 ("mm/memblock: add physical memory list") the
memblock structure knows about a physical memory list.

memblock_type_name() should return "physmem" instead of "unknown" if the
name of the physmem memblock_type is being asked for.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Heiko Carstens <[email protected]>
Cc: Philipp Hachtmann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memblock.c