public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [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

* Re: [patch] SLOB=y && SMP=y fix
  2006-02-08  9:11 [patch] SLOB=y && SMP=y fix Ingo Molnar
@ 2006-02-08 17:41 ` Matt Mackall
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Mackall @ 2006-02-08 17:41 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Linus Torvalds, Andrew Morton, linux-kernel

On Wed, Feb 08, 2006 at 10:11:56AM +0100, Ingo Molnar wrote:
> 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>

Thanks.

Acked-by: Matt Mackall <mpm@selenic.com>

-- 
Mathematics is the supreme nostalgia of our time.

^ 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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox