kernel/fork.c: make mm_cachep static
Subsystems (3)
PATCH 1/1 kernel/fork.c: make mm_cachep static
This patch makes the needlessly global mm_cachep static.
Signed-off-by Adrian Bunk <[email protected]>
---
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 ) {