diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2016-02-06 02:36:19 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-02-06 05:10:40 +0300 |
commit | 1f1ffb8a151e8c59899c78019f76cb8f64be13f5 (patch) | |
tree | ce522b3973d327df37001428b6fb50117c729754 /mm/Kconfig | |
parent | d7ce36924344ace0dbdc855b1206cacc46b36d45 (diff) | |
download | linux-1f1ffb8a151e8c59899c78019f76cb8f64be13f5.tar.xz |
memblock: don't mark memblock_phys_mem_size() as __init
At the moment memblock_phys_mem_size() is marked as __init, and so is
discarded after boot. This is different from most of the memblock
functions which are marked __init_memblock, and are only discarded after
boot if memory hotplug is not configured.
To allow for upcoming code which will need memblock_phys_mem_size() in
the hotplug path, change it from __init to __init_memblock.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/Kconfig')
0 files changed, 0 insertions, 0 deletions