mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
include/linux/pageblock-flags.h: fix set_pageblock_flags() macro definiton
The presently-unused macro was missing one parameter. Signed-off-by: zeal <zealcook@gmail.com> Acked-by: Mel Gorman <mel@csn.ul.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
1b430beee5
commit
f19e77a3dc
1 changed files with 3 additions and 2 deletions
|
@ -67,7 +67,8 @@ void set_pageblock_flags_group(struct page *page, unsigned long flags,
|
||||||
|
|
||||||
#define get_pageblock_flags(page) \
|
#define get_pageblock_flags(page) \
|
||||||
get_pageblock_flags_group(page, 0, NR_PAGEBLOCK_BITS-1)
|
get_pageblock_flags_group(page, 0, NR_PAGEBLOCK_BITS-1)
|
||||||
#define set_pageblock_flags(page) \
|
#define set_pageblock_flags(page, flags) \
|
||||||
set_pageblock_flags_group(page, 0, NR_PAGEBLOCK_BITS-1)
|
set_pageblock_flags_group(page, flags, \
|
||||||
|
0, NR_PAGEBLOCK_BITS-1)
|
||||||
|
|
||||||
#endif /* PAGEBLOCK_FLAGS_H */
|
#endif /* PAGEBLOCK_FLAGS_H */
|
||||||
|
|
Loading…
Reference in a new issue