summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-07 05:32:43 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 17:39:22 +0100
commite30500557eca09ddd340806ce44abf84d9115ab1 (patch)
tree2745f903ea3a0f6f85d78a8f296fc4a22dcb5120 /mm
parent[PATCH] enable booting a NUMA system where some nodes have no memory (diff)
downloadlinux-e30500557eca09ddd340806ce44abf84d9115ab1.tar.xz
linux-e30500557eca09ddd340806ce44abf84d9115ab1.zip
[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 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)
{