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

Anshuman Khandual khandual at linux.vnet.ibm.com
Mon Feb 1 16:50:27 AEDT 2016


On 01/29/2016 10:53 AM, 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: Anshuman Khandual <khandual at linux.vnet.ibm.com>



More information about the Linuxppc-dev mailing list