]> Git Repo - linux.git/commitdiff
[PATCH] SLOB=y && SMP=y fix
authorIngo Molnar <[email protected]>
Wed, 8 Feb 2006 09:11:56 +0000 (10:11 +0100)
committerLinus Torvalds <[email protected]>
Wed, 8 Feb 2006 15:52:58 +0000 (07:52 -0800)
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/slob.c

index 1c240c4b71d9bba885ee2a507dd2d83de3f004e9..a1f42bdc0245c84889080f20be6abb42ac808add 100644 (file)
--- a/mm/slob.c
+++ b/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);
This page took 0.072545 seconds and 4 git commands to generate.