Skip to content

Commit

Permalink
slub: add missing __percpu markup in mm/slub_def.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Namhyung Kim authored and Pekka Enberg committed Aug 9, 2010
1 parent 45d7f32 commit 1b5ad24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/slub_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 1b5ad24

Please sign in to comment.