All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] bootmem: remove not implemented function call, bootmem_arch_preferred_node()
@ 2012-11-12 16:31 ` Joonsoo Kim
  0 siblings, 0 replies; 28+ messages in thread
From: Joonsoo Kim @ 2012-11-12 16:31 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-mm, Joonsoo Kim

There is no implementation of bootmeme_arch_preferred_node() and
call for this function will makes compile-error.
So, remove it.

Signed-off-by: Joonsoo Kim <js1304@gmail.com>

diff --git a/mm/bootmem.c b/mm/bootmem.c
index 434be4a..6f62c03e 100644
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -589,19 +589,6 @@ static void * __init alloc_arch_preferred_bootmem(bootmem_data_t *bdata,
 {
 	if (WARN_ON_ONCE(slab_is_available()))
 		return kzalloc(size, GFP_NOWAIT);
-
-#ifdef CONFIG_HAVE_ARCH_BOOTMEM
-	{
-		bootmem_data_t *p_bdata;
-
-		p_bdata = bootmem_arch_preferred_node(bdata, size, align,
-							goal, limit);
-		if (p_bdata)
-			return alloc_bootmem_bdata(p_bdata, size, align,
-							goal, limit);
-	}
-#endif
-	return NULL;
 }
 
 static void * __init alloc_bootmem_core(unsigned long size,
-- 
1.7.9.5

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2012-11-13  1:24 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-12 16:31 [PATCH 1/4] bootmem: remove not implemented function call, bootmem_arch_preferred_node() Joonsoo Kim
2012-11-12 16:31 ` Joonsoo Kim
2012-11-12 16:31 ` [PATCH 2/4] avr32, kconfig: remove HAVE_ARCH_BOOTMEM Joonsoo Kim
2012-11-12 16:31   ` Joonsoo Kim
2012-11-12 18:36   ` Hans-Christian Egtvedt
2012-11-12 18:36     ` Hans-Christian Egtvedt
2012-11-13  0:50   ` Johannes Weiner
2012-11-13  0:50     ` Johannes Weiner
2012-11-12 16:31 ` [PATCH 3/4] bootmem: remove alloc_arch_preferred_bootmem() Joonsoo Kim
2012-11-12 16:31   ` Joonsoo Kim
2012-11-13  0:55   ` Johannes Weiner
2012-11-13  0:55     ` Johannes Weiner
2012-11-12 16:31 ` [PATCH 4/4] bootmem: fix wrong call parameter for free_bootmem() Joonsoo Kim
2012-11-12 16:31   ` Joonsoo Kim
2012-11-12 23:23   ` Andrew Morton
2012-11-12 23:23     ` Andrew Morton
2012-11-13  0:36     ` JoonSoo Kim
2012-11-13  0:36       ` JoonSoo Kim
2012-11-13  1:24     ` Johannes Weiner
2012-11-13  1:24       ` Johannes Weiner
2012-11-13  0:58   ` Johannes Weiner
2012-11-13  0:58     ` Johannes Weiner
2012-11-13  1:10   ` Johannes Weiner
2012-11-13  1:10     ` Johannes Weiner
2012-11-13  1:13     ` Johannes Weiner
2012-11-13  1:13       ` Johannes Weiner
2012-11-13  0:49 ` [PATCH 1/4] bootmem: remove not implemented function call, bootmem_arch_preferred_node() Johannes Weiner
2012-11-13  0:49   ` Johannes Weiner

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.