From: Johannes Weiner Date: Wed, 11 Feb 2015 23:26:09 +0000 (-0800) Subject: mm: memcontrol: fold move_anon() and move_file() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~115^2~53 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dfab5abcdd404fd04597c063d9f61a5b3247552;p=pandora-kernel.git mm: memcontrol: fold move_anon() and move_file() Turn the move type enum into flags and give the flags field a shorter name. Once that is done, move_anon() and move_file() are simple enough to just fold them into the callsites. [akpm@linux-foundation.org: tweak MOVE_MASK definition, per Michal] Signed-off-by: Johannes Weiner Acked-by: Michal Hocko Reviewed-by: Vladimir Davydov Cc: Greg Thelen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed