SLOB=y && SMP=y fix
PATCH 1/1 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 <[email protected]>
----
mm/slob.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
mm/slob.c +1 -1
@@ -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 );
Quoted 4 lines · Ingo Molnar
fix
CONFIG_SLOB=y(whenCONFIG_SMP=y): get rid of the 'align' parameter from its__alloc_percpu()implementation. Boot-tested on x86.Signed-off-by Ingo Molnar <[email protected]>
Thanks.
Acked-by Matt Mackall <[email protected]>
Signature · 1 line
Mathematics is the supreme nostalgia of our time.