From: KAMEZAWA Hiroyuki Date: Fri, 5 Mar 2010 21:41:39 +0000 (-0800) Subject: mm: clean up mm_counter X-Git-Tag: v2.6.34-rc1~184 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d559db086ff5be9bcc259e5aa50bf3d881eaf1d1;p=pandora-kernel.git mm: clean up mm_counter Presently, per-mm statistics counter is defined by macro in sched.h This patch modifies it to - defined in mm.h as inlinf functions - use array instead of macro's name creation. This patch is for reducing patch size in future patch to modify implementation of per-mm counter. Signed-off-by: KAMEZAWA Hiroyuki Reviewed-by: Minchan Kim Cc: Christoph Lameter Cc: Lee Schermerhorn Cc: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed