diff options
author | Chen Gang <762976180@qq.com> | 2015-04-15 01:47:35 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 02:49:04 +0300 |
commit | b1b0deabbffa922fed808d4a5d99d03372a4c701 (patch) | |
tree | 2e4a8fe4560046131a570d1076fcb54f659405d0 /fs/binfmt_elf.c | |
parent | 6b6378355b925050eb6fa966742d8c2d65ff0d83 (diff) | |
download | linux-b1b0deabbffa922fed808d4a5d99d03372a4c701.tar.xz |
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/binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions