summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-06 20:32:43 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 08:39:22 -0800
commite30500557eca09ddd340806ce44abf84d9115ab1 (patch)
tree2745f903ea3a0f6f85d78a8f296fc4a22dcb5120 /mm
parent7c309a64d6afa90a0a07813c836ba480aeaeca8c (diff)
downloadop-kernel-dev-e30500557eca09ddd340806ce44abf84d9115ab1.zip
op-kernel-dev-e30500557eca09ddd340806ce44abf84d9115ab1.tar.gz
[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')
-rw-r--r--mm/thrash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/thrash.c b/mm/thrash.c
index 19e428c..9ef9071 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)
{
OpenPOWER on IntegriCloud