From: KOSAKI Motohiro Date: Tue, 22 Sep 2009 00:01:39 +0000 (-0700) Subject: mm: remove __{add,sub}_zone_page_state() X-Git-Tag: upstream/snapshot3+hdmi~17540 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a2ae913f5229d6e1d4a666f0477350789d5128e;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git mm: remove __{add,sub}_zone_page_state() __add_zone_page_state() and __sub_zone_page_state() are unused. Signed-off-by: KOSAKI Motohiro Cc: Wu Fengguang Cc: Rik van Riel Cc: Minchan Kim Cc: Christoph Lameter Cc: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h index 81a97cf..d7f577f 100644 --- a/include/linux/vmstat.h +++ b/include/linux/vmstat.h @@ -210,11 +210,6 @@ extern void zone_statistics(struct zone *, struct zone *); #endif /* CONFIG_NUMA */ -#define __add_zone_page_state(__z, __i, __d) \ - __mod_zone_page_state(__z, __i, __d) -#define __sub_zone_page_state(__z, __i, __d) \ - __mod_zone_page_state(__z, __i,-(__d)) - #define add_zone_page_state(__z, __i, __d) mod_zone_page_state(__z, __i, __d) #define sub_zone_page_state(__z, __i, __d) mod_zone_page_state(__z, __i, -(__d))