projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cea27eb
)
mm/pageblock: remove get/set_pageblock_flags
author
Wanpeng Li
<
[email protected]
>
Wed, 3 Jul 2013 22:02:41 +0000
(15:02 -0700)
committer
Linus 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
patch
|
blob
|
history
diff --git
a/include/linux/pageblock-flags.h
b/include/linux/pageblock-flags.h
index be655e4a2a75b23e056c1631e5219fd52dd6c6f8..2ee8cd2466b595179a41641511fac87fa4c9a8ff 100644
(file)
--- a/
include/linux/pageblock-flags.h
+++ b/
include/linux/pageblock-flags.h
@@
-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 */