Skip to contentSkip to conversation

mm/thrash.c: make a variable static

PATCH New Adrian Bunk 1 participant 1 message Jan 17, 2005 Memory management

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm/thrash.c: make a variable static

This patch makes a needlessly global variable static. It was already ACK'ed by Rik van Riel.

---

This patch was already sent on:
- 12 Dec 2004

mm/thrash.c renamed from mm/thrash.c.old +1 -1
@@ -15,7 +15,7 @@
 
 static DEFINE_SPINLOCK(swap_token_lock);
 static unsigned long swap_token_timeout;
-unsigned long swap_token_check;
+static unsigned long swap_token_check;
 struct mm_struct * swap_token_mm = &init_mm;
 
 #define SWAP_TOKEN_CHECK_INTERVAL (HZ * 2)