]> 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>
Wed, 28 Sep 2011 00:50:01 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 29 Sep 2011 06:08:00 +0000 (16:08 +1000)
commit3ce060dddf1e93f14bdf92e001b9fafd5ff963bf
tree7c0dce2b3b2170c14d503a97ea02076859826edc
parent5b8846c1ab62bdef1eddc7ed5d82916192417020
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 <>
include/linux/writeback.h
mm/page-writeback.c