diff --git a/mm/thrash.c b/mm/thrash.c
index 19e428ca8b034ccae8bb6c201d52197bf17a084e..9ef9071f99bcd7322b8e1f6808a477403b891211 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)
 {