From: Adrian Bunk Date: Thu, 7 Dec 2006 04:32:43 +0000 (-0800) Subject: [PATCH] make mm/thrash.c:global_faults static X-Git-Tag: firefly_0821_release~31885^2~14^2~335 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e30500557eca09ddd340806ce44abf84d9115ab1;p=firefly-linux-kernel-4.4.55.git [PATCH] make mm/thrash.c:global_faults static This patch makes the needlessly global "global_faults" static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/thrash.c b/mm/thrash.c index 19e428ca8b03..9ef9071f99bc 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) {