slub: add missing __percpu markup in mm/slub_def.h
authorNamhyung Kim <namhyung@gmail.com>
Sat, 7 Aug 2010 12:29:22 +0000 (14:29 +0200)
committerPekka Enberg <penberg@kernel.org>
Mon, 9 Aug 2010 15:48:06 +0000 (18:48 +0300)
kmem_cache->cpu_slab is a percpu pointer but was missing __percpu
markup.  Add it.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
include/linux/slub_def.h

index 6447a723ecb170b9c3fd4476e8a1c1016b2b69de..5ec4bc0e45aafc13fe014c9ae6f47ebdf8556771 100644 (file)
@@ -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 */