From: Namhyung Kim Date: Sat, 7 Aug 2010 12:29:22 +0000 (+0200) Subject: slub: add missing __percpu markup in mm/slub_def.h X-Git-Tag: upstream/snapshot3+hdmi~13163^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b5ad24878b7e5a543b98c5d2f8c0d8c0dd3088f;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git slub: add missing __percpu markup in mm/slub_def.h kmem_cache->cpu_slab is a percpu pointer but was missing __percpu markup. Add it. Signed-off-by: Namhyung Kim Acked-by: Tejun Heo Signed-off-by: Pekka Enberg --- diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index 6447a72..5ec4bc0 100644 --- a/include/linux/slub_def.h +++ b/include/linux/slub_def.h @@ -68,7 +68,7 @@ struct kmem_cache_order_objects { * Slab cache management. */ struct kmem_cache { - struct kmem_cache_cpu *cpu_slab; + struct kmem_cache_cpu __percpu *cpu_slab; /* Used for retriving partial slabs etc */ unsigned long flags; int size; /* The size of an object including meta data */