]> Git Repo - linux.git/commitdiff
mm/pageblock: remove get/set_pageblock_flags
authorWanpeng Li <[email protected]>
Wed, 3 Jul 2013 22:02:41 +0000 (15:02 -0700)
committerLinus Torvalds <[email protected]>
Wed, 3 Jul 2013 23:07:32 +0000 (16:07 -0700)
get_pageblock_flags and set_pageblock_flags are not used any more, this
patch removes them.

Signed-off-by: Wanpeng Li <[email protected]>
Reviewed-by: Michal Hocko <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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 */
This page took 0.053117 seconds and 4 git commands to generate.