projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e88328
)
mm/page-writeback.c: make a function static
author
Adrian Bunk
<bunk@kernel.org>
Tue, 5 Feb 2008 06:29:08 +0000
(22:29 -0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:17 +0000
(09:44 -0800)
task_dirty_limit() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page-writeback.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/page-writeback.c
b/mm/page-writeback.c
index 3d3848fa6324ee30c8bfa4f39ac867808af84627..8137482abd6e862249fa9b4e8a66fcff6cf22821 100644
(file)
--- a/
mm/page-writeback.c
+++ b/
mm/page-writeback.c
@@
-219,7
+219,7
@@
static inline void task_dirties_fraction(struct task_struct *tsk,
*
* dirty -= (dirty/8) * p_{t}
*/
-void task_dirty_limit(struct task_struct *tsk, long *pdirty)
+
static
void task_dirty_limit(struct task_struct *tsk, long *pdirty)
{
long numerator, denominator;
long dirty = *pdirty;