Messages in this thread Patch in this message | | | Date | Sun, 12 Dec 2004 21:03:40 +0100 | From | Adrian Bunk <> | Subject | [2.6 patch] mm/thrash.c: make a variable static |
| |
The patch below makes a needlessly global variable static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- 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/
| |