From: Ingo Molnar Date: Wed, 8 Feb 2006 09:11:56 +0000 (+0100) Subject: [PATCH] SLOB=y && SMP=y fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9934a7939e1cdce62ece9ef7d25ebb3c55547fac;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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 Signed-off-by: Linus Torvalds --- diff --git a/mm/slob.c b/mm/slob.c index 1c240c4b71d..a1f42bdc024 100644 --- 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);