summaryrefslogtreecommitdiff
path: root/mm/page-writeback.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-04 22:29:08 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 09:44:17 -0800
commitf61eaf9fc58f3b2d9e3ad424496620f3381ccd1e (patch)
treecc81b75fbdc13589ac0defb0b6f018d066e1c21d /mm/page-writeback.c
parent1e88328111aae3ea408f346763ba9f9bad71f876 (diff)
downloadlinux-3.10-f61eaf9fc58f3b2d9e3ad424496620f3381ccd1e.tar.gz
linux-3.10-f61eaf9fc58f3b2d9e3ad424496620f3381ccd1e.tar.bz2
linux-3.10-f61eaf9fc58f3b2d9e3ad424496620f3381ccd1e.zip
mm/page-writeback.c: make a function static
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>
Diffstat (limited to 'mm/page-writeback.c')
-rw-r--r--mm/page-writeback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 3d3848fa632..8137482abd6 100644
--- 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;