* [2.6 patch] mm/page-writeback.c: make a function static
@ 2007-10-24 16:23 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-10-24 16:23 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: linux-kernel
task_dirty_limit() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.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;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-24 16:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24 16:23 [2.6 patch] mm/page-writeback.c: make a function static Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox