mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 21:30:43 +00:00
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>
This commit is contained in:
parent
1e88328111
commit
f61eaf9fc5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user