diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-06 23:32:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:22 -0500 |
commit | e30500557eca09ddd340806ce44abf84d9115ab1 (patch) | |
tree | 2745f903ea3a0f6f85d78a8f296fc4a22dcb5120 /mm/thrash.c | |
parent | 7c309a64d6afa90a0a07813c836ba480aeaeca8c (diff) |
[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.c | 2 |
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 @@ | |||
24 | 24 | ||
25 | static DEFINE_SPINLOCK(swap_token_lock); | 25 | static DEFINE_SPINLOCK(swap_token_lock); |
26 | struct mm_struct *swap_token_mm; | 26 | struct mm_struct *swap_token_mm; |
27 | unsigned int global_faults; | 27 | static unsigned int global_faults; |
28 | 28 | ||
29 | void grab_swap_token(void) | 29 | void grab_swap_token(void) |
30 | { | 30 | { |