Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mm/pageblock: remove get/set_pageblock_flags

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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Wanpeng Li and committed by
Linus Torvalds
4c42efa2 cea27eb2

-6
-6
include/linux/pageblock-flags.h
··· 80 80 PB_migrate_skip) 81 81 #endif /* CONFIG_COMPACTION */ 82 82 83 - #define get_pageblock_flags(page) \ 84 - get_pageblock_flags_group(page, 0, PB_migrate_end) 85 - #define set_pageblock_flags(page, flags) \ 86 - set_pageblock_flags_group(page, flags, \ 87 - 0, PB_migrate_end) 88 - 89 83 #endif /* PAGEBLOCK_FLAGS_H */