diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-05 07:29:08 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 18:44:17 +0100 |
commit | f61eaf9fc58f3b2d9e3ad424496620f3381ccd1e (patch) | |
tree | cc81b75fbdc13589ac0defb0b6f018d066e1c21d /mm/page-writeback.c | |
parent | maps4: make page monitoring /proc file optional (diff) | |
download | linux-f61eaf9fc58f3b2d9e3ad424496620f3381ccd1e.tar.xz 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/page-writeback.c')
-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; |