lkml.org 
[lkml]   [2005]   [Jan]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 17 Jan 2005 09:13:52 +0100
FromAdrian Bunk <>
Subject[2.6 patch] 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 <bunk@stusta.de>

---
This patch was already sent on:
- 12 Dec 2004

--- linux-2.6.10-rc2-mm4-full/mm/thrash.c.old	2004-12-12 04:00:18.000000000 +0100
+++ linux-2.6.10-rc2-mm4-full/mm/thrash.c	2004-12-12 04:00:25.000000000 +0100
@@ -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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [from the cache]
©2003-2008