Skip to content

Commit

Permalink
[PATCH] make mm/thrash.c:global_faults static
Browse files Browse the repository at this point in the history
This patch makes the needlessly global "global_faults" static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
AdrianBunk authored and Linus Torvalds committed Dec 7, 2006
1 parent 7c309a6 commit e305005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/thrash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit e305005

Please sign in to comment.