aboutsummaryrefslogtreecommitdiffstats
path: root/mm/bootmem.c
diff options
context:
space:
mode:
authorJoonsoo Kim <js1304@gmail.com>2012-12-12 16:50:42 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-12 20:38:30 -0500
commit2d7a695604556913d9ef1ead47881b804d6c52b4 (patch)
tree05685ea8ebf8c0dd14d1d6ec2d3b72df66c82810 /mm/bootmem.c
parent9977d9b379cb77e0f67bd6f4563618106e58e11d (diff)
bootmem: remove not implemented function call, bootmem_arch_preferred_node()
There is no implementation of bootmem_arch_preferred_node() and a call to this function will cause a compilation error. So remove it. Signed-off-by: Joonsoo Kim <js1304@gmail.com> Cc: Haavard Skinnemoen <hskinnemoen@gmail.com> Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/bootmem.c')
-rw-r--r--mm/bootmem.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/mm/bootmem.c b/mm/bootmem.c
index ecc45958ac0c..4730931b45a9 100644
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -581,18 +581,6 @@ static void * __init alloc_arch_preferred_bootmem(bootmem_data_t *bdata,
581{ 581{
582 if (WARN_ON_ONCE(slab_is_available())) 582 if (WARN_ON_ONCE(slab_is_available()))
583 return kzalloc(size, GFP_NOWAIT); 583 return kzalloc(size, GFP_NOWAIT);
584
585#ifdef CONFIG_HAVE_ARCH_BOOTMEM
586 {
587 bootmem_data_t *p_bdata;
588
589 p_bdata = bootmem_arch_preferred_node(bdata, size, align,
590 goal, limit);
591 if (p_bdata)
592 return alloc_bootmem_bdata(p_bdata, size, align,
593 goal, limit);
594 }
595#endif
596 return NULL; 584 return NULL;
597} 585}
598 586