]> git.baikalelectronics.ru Git - kernel.git/commit
memcontrol: move mm_cgroup to header file
authorDavid Rientjes <rientjes@google.com>
Thu, 7 Feb 2008 08:14:03 +0000 (00:14 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:19 +0000 (08:42 -0800)
commitdfb28b857701ab7878df5e23d9a75b0f7f85d9b0
tree521b26bda2f6b106c8b3747a88214eec5f24b998
parent745e06cd5fa79379ce9b7cdc007663af1a1b73e6
memcontrol: move mm_cgroup to header file

Inline functions must preceed their use, so mm_cgroup() should be defined
in linux/memcontrol.h.

include/linux/memcontrol.h:48: warning: 'mm_cgroup' declared inline after
being called
include/linux/memcontrol.h:48: warning: previous declaration of
'mm_cgroup' was here

[akpm@linux-foundation.org: build fix]
[akpm@linux-foundation.org: nuther build fix]
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/memcontrol.h
mm/memcontrol.c