projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c309a6
)
[PATCH] make mm/thrash.c:global_faults static
author
Adrian Bunk
<bunk@stusta.de>
Thu, 7 Dec 2006 04:32:43 +0000
(20:32 -0800)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:22 +0000
(08:39 -0800)
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>
mm/thrash.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/thrash.c
b/mm/thrash.c
index 19e428ca8b034ccae8bb6c201d52197bf17a084e..9ef9071f99bcd7322b8e1f6808a477403b891211 100644
(file)
--- 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)
{