diff options
author | Michele Curti <michele.curti@gmail.com> | 2014-12-13 01:56:35 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-13 21:42:49 +0100 |
commit | ae6e71d3d900c398bdb346ac25733b2efa9b3752 (patch) | |
tree | 8eaee4af96ecc4fa947e1e04204fa05d1265b5a1 /mm/slub.c | |
parent | mm: fadvise: document the fadvise(FADV_DONTNEED) behaviour for partial pages (diff) | |
download | linux-ae6e71d3d900c398bdb346ac25733b2efa9b3752.tar.xz linux-ae6e71d3d900c398bdb346ac25733b2efa9b3752.zip |
mm/memcontrol.c: fix defined but not used compiler warning
test_mem_cgroup_node_reclaimable() is used only when MAX_NUMNODES > 1, so
move it into the compiler if statement
[akpm@linux-foundation.org: clean up layout]
Signed-off-by: Michele Curti <michele.curti@gmail.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: 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 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions