diff options
author | Chen Gang <762976180@qq.com> | 2015-04-14 15:47:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-14 16:49:04 -0700 |
commit | b1b0deabbffa922fed808d4a5d99d03372a4c701 (patch) | |
tree | 2e4a8fe4560046131a570d1076fcb54f659405d0 /fs | |
parent | 6b6378355b925050eb6fa966742d8c2d65ff0d83 (diff) | |
download | linux-b1b0deabbffa922fed808d4a5d99d03372a4c701.tar.bz2 |
mm: memcontrol: let mem_cgroup_move_account() have effect only if MMU enabled
When !MMU, it will report warning. The related warning with allmodconfig
under c6x:
CC mm/memcontrol.o
mm/memcontrol.c:2802:12: warning: 'mem_cgroup_move_account' defined but not used [-Wunused-function]
static int mem_cgroup_move_account(struct page *page,
^
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions