]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm/pageblock: remove get/set_pageblock_flags
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Thu, 27 Jun 2013 23:51:42 +0000 (09:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:39 +0000 (16:37 +1000)
get_pageblock_flags and set_pageblock_flags are not used any more, this
patch removes them.

Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/pageblock-flags.h

index be655e4a2a75b23e056c1631e5219fd52dd6c6f8..2ee8cd2466b595179a41641511fac87fa4c9a8ff 100644 (file)
@@ -80,10 +80,4 @@ void set_pageblock_flags_group(struct page *page, unsigned long flags,
                                                        PB_migrate_skip)
 #endif /* CONFIG_COMPACTION */
 
-#define get_pageblock_flags(page) \
-                       get_pageblock_flags_group(page, 0, PB_migrate_end)
-#define set_pageblock_flags(page, flags) \
-                       set_pageblock_flags_group(page, flags,  \
-                                                 0, PB_migrate_end)
-
 #endif /* PAGEBLOCK_FLAGS_H */