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