提交 e3050055 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

[PATCH] make mm/thrash.c:global_faults static

This patch makes the needlessly global "global_faults" static.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 7c309a64
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册