diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-05 01:29:08 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 12:44:17 -0500 |
commit | f61eaf9fc58f3b2d9e3ad424496620f3381ccd1e (patch) | |
tree | cc81b75fbdc13589ac0defb0b6f018d066e1c21d /mm | |
parent | 1e88328111aae3ea408f346763ba9f9bad71f876 (diff) |
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')
-rw-r--r-- | mm/page-writeback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 3d3848fa6324..8137482abd6e 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, | |||
219 | * | 219 | * |
220 | * dirty -= (dirty/8) * p_{t} | 220 | * dirty -= (dirty/8) * p_{t} |
221 | */ | 221 | */ |
222 | void task_dirty_limit(struct task_struct *tsk, long *pdirty) | 222 | static void task_dirty_limit(struct task_struct *tsk, long *pdirty) |
223 | { | 223 | { |
224 | long numerator, denominator; | 224 | long numerator, denominator; |
225 | long dirty = *pdirty; | 225 | long dirty = *pdirty; |