mm/thrash.c: make a variable static
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.
Signed-off-by Adrian Bunk <[email protected]>
---
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)