Skip to contentSkip to conversation

kernel/fork.c: make mm_cachep static

PATCH New Adrian Bunk 1 participant 1 message Jan 21, 2005

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

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

This patch makes the needlessly global mm_cachep static.

---

This patch was already sent on:
- 12 Dec 2004

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)
 {