* [patch] SLOB=y && SMP=y fix
@ 2006-02-08 9:11 Ingo Molnar
2006-02-08 17:41 ` Matt Mackall
0 siblings, 1 reply; 2+ messages in thread
From: Ingo Molnar @ 2006-02-08 9:11 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Andrew Morton, Matt Mackall, linux-kernel
fix CONFIG_SLOB=y (when CONFIG_SMP=y): get rid of the 'align' parameter
from its __alloc_percpu() implementation. Boot-tested on x86.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
----
mm/slob.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: linux/mm/slob.c
===================================================================
--- linux.orig/mm/slob.c
+++ linux/mm/slob.c
@@ -336,7 +336,7 @@ EXPORT_SYMBOL(slab_reclaim_pages);
#ifdef CONFIG_SMP
-void *__alloc_percpu(size_t size, size_t align)
+void *__alloc_percpu(size_t size)
{
int i;
struct percpu_data *pdata = kmalloc(sizeof (*pdata), GFP_KERNEL);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-08 17:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-08 9:11 [patch] SLOB=y && SMP=y fix Ingo Molnar
2006-02-08 17:41 ` Matt Mackall
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.