summaryrefslogtreecommitdiffstats
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorMichal Hocko2012-10-09 01:33:13 +0200
committerLinus Torvalds2012-10-09 09:22:55 +0200
commit7ffc0edc49d0df5dac077c1830e2533b27d3a4ed (patch)
treed3a9b21a5725af5a678eb0d2d07a3848bbf65fd4 /mm/truncate.c
parentmemcg: cleanup kmem tcp ifdefs (diff)
downloadkernel-qcow2-linux-7ffc0edc49d0df5dac077c1830e2533b27d3a4ed.tar.gz
kernel-qcow2-linux-7ffc0edc49d0df5dac077c1830e2533b27d3a4ed.tar.xz
kernel-qcow2-linux-7ffc0edc49d0df5dac077c1830e2533b27d3a4ed.zip
memcg: move mem_cgroup_is_root upwards
kmem code uses this function and it is better to not use forward declarations for static inline functions as some (older) compilers don't like it: gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) mm/memcontrol.c:421: warning: `mem_cgroup_is_root' declared inline after being called mm/memcontrol.c:421: warning: previous declaration of `mem_cgroup_is_root' was here Signed-off-by: Michal Hocko <mhocko@suse.cz> Cc: Glauber Costa <glommer@parallels.com> Cc: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions