summaryrefslogtreecommitdiff
path: root/mm/thrash.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-07 07:32:43 +0300
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 19:39:22 +0300
commite30500557eca09ddd340806ce44abf84d9115ab1 (patch)
tree2745f903ea3a0f6f85d78a8f296fc4a22dcb5120 /mm/thrash.c
parent7c309a64d6afa90a0a07813c836ba480aeaeca8c (diff)
downloadlinux-e30500557eca09ddd340806ce44abf84d9115ab1.tar.xz
[PATCH] make mm/thrash.c:global_faults static
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>
Diffstat (limited to 'mm/thrash.c')
-rw-r--r--mm/thrash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/thrash.c b/mm/thrash.c
index 19e428ca8b03..9ef9071f99bc 100644
--- a/mm/thrash.c
+++ b/mm/thrash.c
@@ -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)
{