]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/page-writeback.c: make determine_dirtyable_memory static again
authorJohannes Weiner <hannes@cmpxchg.org>
Fri, 2 Dec 2011 03:11:31 +0000 (14:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 2 Dec 2011 03:15:28 +0000 (14:15 +1100)
commitfc12cb721b732f17b2eb851dfa6e8c0a18cd5275
tree6a643605332de1571a4a99cab1d196b86e82adcb
parentfadaf7dfb52959a643bc90f5e28d62dd6bf77097
mm/page-writeback.c: make determine_dirtyable_memory static again

The tracing ring-buffer used this function briefly, but not anymore.
Make it local to the writeback code again.

Also, move the function so that no forward declaration needs to be
reintroduced.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/writeback.h
mm/page-writeback.c