[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20071024162351.GY30533@stusta.de>
Date: Wed, 24 Oct 2007 18:23:51 +0200
From: Adrian Bunk <bunk@...nel.org>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: linux-kernel@...r.kernel.org
Subject: [2.6 patch] mm/page-writeback.c: make a function static
task_dirty_limit() can become static.
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
ea2286c1631811eb7ea813c2b2785c3a1bfb0463
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 838a5e3..f13f7fc 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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists