aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 35cb0c861508..2580db062df9 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -787,7 +787,7 @@ static void next_reap_node(void)
787 * the CPUs getting into lockstep and contending for the global cache chain 787 * the CPUs getting into lockstep and contending for the global cache chain
788 * lock. 788 * lock.
789 */ 789 */
790static void __cpuinit start_cpu_timer(int cpu) 790static void start_cpu_timer(int cpu)
791{ 791{
792 struct delayed_work *reap_work = &per_cpu(slab_reap_work, cpu); 792 struct delayed_work *reap_work = &per_cpu(slab_reap_work, cpu);
793 793
@@ -1186,7 +1186,7 @@ static inline int slabs_tofree(struct kmem_cache *cachep,
1186 return (n->free_objects + cachep->num - 1) / cachep->num; 1186 return (n->free_objects + cachep->num - 1) / cachep->num;
1187} 1187}
1188 1188
1189static void __cpuinit cpuup_canceled(long cpu) 1189static void cpuup_canceled(long cpu)
1190{ 1190{
1191 struct kmem_cache *cachep; 1191 struct kmem_cache *cachep;
1192 struct kmem_cache_node *n = NULL; 1192 struct kmem_cache_node *n = NULL;
@@ -1251,7 +1251,7 @@ free_array_cache:
1251 } 1251 }
1252} 1252}
1253 1253
1254static int __cpuinit cpuup_prepare(long cpu) 1254static int cpuup_prepare(long cpu)
1255{ 1255{
1256 struct kmem_cache *cachep; 1256 struct kmem_cache *cachep;
1257 struct kmem_cache_node *n = NULL; 1257 struct kmem_cache_node *n = NULL;
@@ -1334,7 +1334,7 @@ bad:
1334 return -ENOMEM; 1334 return -ENOMEM;
1335} 1335}
1336 1336
1337static int __cpuinit cpuup_callback(struct notifier_block *nfb, 1337static int cpuup_callback(struct notifier_block *nfb,
1338 unsigned long action, void *hcpu) 1338 unsigned long action, void *hcpu)
1339{ 1339{
1340 long cpu = (long)hcpu; 1340 long cpu = (long)hcpu;
@@ -1390,7 +1390,7 @@ static int __cpuinit cpuup_callback(struct notifier_block *nfb,
1390 return notifier_from_errno(err); 1390 return notifier_from_errno(err);
1391} 1391}
1392 1392
1393static struct notifier_block __cpuinitdata cpucache_notifier = { 1393static struct notifier_block cpucache_notifier = {
1394 &cpuup_callback, NULL, 0 1394 &cpuup_callback, NULL, 0
1395}; 1395};
1396 1396