]> 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>
Thu, 8 Dec 2011 04:38:39 +0000 (15:38 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 Dec 2011 05:48:00 +0000 (16:48 +1100)
commit7acbbe21c48b8b56a6438eb6b3347a1bfdca1507
treeee876d8f7574c233459565f368a85a91a1f13af0
parent10e1d26fb27ec8acbb5a586213ba79c4758b3359
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