[PATCH] make mm/thrash.c:global_faults static
Adrian Bunk [Thu, 7 Dec 2006 04:32:43 +0000 (20:32 -0800)]
This patch makes the needlessly global "global_faults" static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

mm/thrash.c

index 19e428c..9ef9071 100644 (file)
@@ -24,7 +24,7 @@
 
 static DEFINE_SPINLOCK(swap_token_lock);
 struct mm_struct *swap_token_mm;
-unsigned int global_faults;
+static unsigned int global_faults;
 
 void grab_swap_token(void)
 {