Skip to contentSkip to conversation

kernel/fork.c: make mm_cachep static

PATCH New Adrian Bunk 1 participant 1 message Dec 12, 2004

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel/fork.c: make mm_cachep static

The patch below makes the needlessly global mm_cachep static.

kernel/fork.c renamed from kernel/fork.c.old +1 -1
@@ -1209,7 +1209,7 @@
 kmem_cache_t *vm_area_cachep;
 
 /* SLAB cache for mm_struct structures (tsk->mm) */
-kmem_cache_t *mm_cachep;
+static kmem_cache_t *mm_cachep;
 
 void __init proc_caches_init(void)
 {