[RFCv2 1/9] memblock: Don't mark memblock_phys_mem_size() as __init

Paul Mackerras paulus at ozlabs.org
Mon Feb 8 13:46:53 AEDT 2016


On Fri, Jan 29, 2016 at 04:23:55PM +1100, David Gibson wrote:
> 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 at gibson.dropbear.id.au>

Reviewed-by: Paul Mackerras <paulus at samba.org>


More information about the Linuxppc-dev mailing list