diff options
author | Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | 2013-12-12 17:12:19 -0800 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-04-09 13:13:53 +0200 |
commit | a5ff308f459c531704a133e1816cd80447c33329 (patch) | |
tree | 59c050692e14995f8881fdb9413665e55f2fce2a /include/linux/fs_uart_pd.h | |
parent | 429c93f0886583889ac83aca71ce449495f98afe (diff) |
include/linux/hugetlb.h: make isolate_huge_page() an inline
commit f40386a4e976acb2bd3e0f9ead11e8e769acbe98 upstream.
With CONFIG_HUGETLBFS=n:
mm/migrate.c: In function `do_move_page_to_node_array':
include/linux/hugetlb.h:140:33: warning: statement with no effect [-Wunused-value]
#define isolate_huge_page(p, l) false
^
mm/migrate.c:1170:4: note: in expansion of macro `isolate_huge_page'
isolate_huge_page(page, &pagelist);
Reported-by: Borislav Petkov <bp@alien8.de>
Tested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'include/linux/fs_uart_pd.h')
0 files changed, 0 insertions, 0 deletions