diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-02-08 04:11:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-08 10:52:58 -0500 |
commit | 9934a7939e1cdce62ece9ef7d25ebb3c55547fac (patch) | |
tree | 89925b09c257207f4d839c68a4d2f9a764f4c8cc /mm/slob.c | |
parent | 30e9656cc340035e102fea46e1908689494b042d (diff) |
[PATCH] SLOB=y && SMP=y fix
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>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/slob.c')
-rw-r--r-- | mm/slob.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -336,7 +336,7 @@ EXPORT_SYMBOL(slab_reclaim_pages); | |||
336 | 336 | ||
337 | #ifdef CONFIG_SMP | 337 | #ifdef CONFIG_SMP |
338 | 338 | ||
339 | void *__alloc_percpu(size_t size, size_t align) | 339 | void *__alloc_percpu(size_t size) |
340 | { | 340 | { |
341 | int i; | 341 | int i; |
342 | struct percpu_data *pdata = kmalloc(sizeof (*pdata), GFP_KERNEL); | 342 | struct percpu_data *pdata = kmalloc(sizeof (*pdata), GFP_KERNEL); |