diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-04 22:29:08 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 09:44:17 -0800 |
commit | f61eaf9fc58f3b2d9e3ad424496620f3381ccd1e (patch) | |
tree | cc81b75fbdc13589ac0defb0b6f018d066e1c21d /mm | |
parent | 1e88328111aae3ea408f346763ba9f9bad71f876 (diff) | |
download | linux-f61eaf9fc58f3b2d9e3ad424496620f3381ccd1e.tar.gz linux-f61eaf9fc58f3b2d9e3ad424496620f3381ccd1e.tar.bz2 linux-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')
-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, * * 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; |