[2.6 patch] kernel/fork.c: make mm_cachep static

From: Adrian Bunk
Date: Sun Dec 12 2004 - 14:30:00 EST


The patch below makes the needlessly global mm_cachep static.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.10-rc2-mm4-full/kernel/fork.c.old 2004-12-12 02:50:56.000000000 +0100
+++ linux-2.6.10-rc2-mm4-full/kernel/fork.c 2004-12-12 03:35:55.000000000 +0100
@@ -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)
{

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/