]> err.no Git - linux-2.6/commitdiff
mm/page-writeback.c: make a function static
authorAdrian Bunk <bunk@kernel.org>
Tue, 5 Feb 2008 06:29:08 +0000 (22:29 -0800)
committerLinus 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

index 3d3848fa6324ee30c8bfa4f39ac867808af84627..8137482abd6e862249fa9b4e8a66fcff6cf22821 100644 (file)
@@ -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;