]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
memory-hotplug: cleanup: removing the arch specific functions without any implementation
authorMichal Hocko <mhocko@suse.cz>
Wed, 20 Feb 2013 02:14:14 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:29 +0000 (16:52 +1100)
After introducing CONFIG_HAVE_BOOTMEM_INFO_NODE Kconfig option, the
related arch specific functions become confusing, remove them.

Guys who want to implement memory-hotplug feature on such archs for this
part should look into register_page_bootmem_info_node() and flesh out from
top to end.

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Lin Feng <linfeng@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/ia64/mm/discontig.c
arch/powerpc/mm/init_64.c
arch/s390/mm/vmem.c
arch/sparc/mm/init_64.c

index 33943db2b0cbbd66c4e72812e54cc584ede84190..731bf84094b64f9caa4d70e4458fd3229a77461e 100644 (file)
@@ -823,9 +823,4 @@ int __meminit vmemmap_populate(struct page *start_page,
        return vmemmap_populate_basepages(start_page, size, node);
 }
 
-void register_page_bootmem_memmap(unsigned long section_nr,
-                                 struct page *start_page, unsigned long size)
-{
-       /* TODO */
-}
 #endif
index 6466440058989736feefaf16a673872bfdc79615..42bf082f012489673593f3b0111b960d9e040df3 100644 (file)
@@ -298,10 +298,5 @@ int __meminit vmemmap_populate(struct page *start_page,
        return 0;
 }
 
-void register_page_bootmem_memmap(unsigned long section_nr,
-                                 struct page *start_page, unsigned long size)
-{
-       /* TODO */
-}
 #endif /* CONFIG_SPARSEMEM_VMEMMAP */
 
index 5a605e2678fd31ce9d1dc4302105e53973f314b3..79699f46a4434d3d1d8269f185b42a07aeef72fd 100644 (file)
@@ -268,12 +268,6 @@ out:
        return ret;
 }
 
-void register_page_bootmem_memmap(unsigned long section_nr,
-                                 struct page *start_page, unsigned long size)
-{
-       /* TODO */
-}
-
 /*
  * Add memory segment to the segment list if it doesn't overlap with
  * an already present segment.
index 26a3e4d5bab9944312bef6e3c17ddd2c4e855dd1..09fa1f87939f077143e2d5008116fd394959d871 100644 (file)
@@ -2230,11 +2230,6 @@ void __meminit vmemmap_populate_print_last(void)
        }
 }
 
-void register_page_bootmem_memmap(unsigned long section_nr,
-                                 struct page *start_page, unsigned long size)
-{
-       /* TODO */
-}
 #endif /* CONFIG_SPARSEMEM_VMEMMAP */
 
 static void prot_init_common(unsigned long page_none,