* [merged] memblock-dont-mark-memblock_phys_mem_size-as-__init.patch removed from -mm tree
@ 2016-02-10 19:35 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2016-02-10 19:35 UTC (permalink / raw)
To: david, mm-commits
The patch titled
Subject: memblock: don't mark memblock_phys_mem_size() as __init
has been removed from the -mm tree. Its filename was
memblock-dont-mark-memblock_phys_mem_size-as-__init.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: David Gibson <david@gibson.dropbear.id.au>
Subject: 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>
---
mm/memblock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN mm/memblock.c~memblock-dont-mark-memblock_phys_mem_size-as-__init mm/memblock.c
--- a/mm/memblock.c~memblock-dont-mark-memblock_phys_mem_size-as-__init
+++ a/mm/memblock.c
@@ -1448,7 +1448,7 @@ void __init __memblock_free_late(phys_ad
* Remaining API functions
*/
-phys_addr_t __init memblock_phys_mem_size(void)
+phys_addr_t __init_memblock memblock_phys_mem_size(void)
{
return memblock.memory.total_size;
}
_
Patches currently in -mm which might be from david@gibson.dropbear.id.au are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-10 19:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-10 19:35 [merged] memblock-dont-mark-memblock_phys_mem_size-as-__init.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.