aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorGreg KH <gregkh@linuxfoundation.org>2013-05-03 19:26:59 -0400
committerTejun Heo <tj@kernel.org>2013-05-14 14:50:42 -0400
commit23958e729e7029678e746bf8f4094c8863a79c3d (patch)
tree32bc3679396093ae3d456b4504e52cf71267f3fb /include/linux
parent857a2beb09ab83e9a8185821ae16db7dfbe8b837 (diff)
cgroup.h: remove some functions that are now gone
cgroup_lock() and cgroup_unlock() are now no longer exported, so fix cgroup.h to not declare them if CONFIG_CGROUPS is not enabled. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/cgroup.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 383c630f36f9..4f6f5138c340 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -840,8 +840,6 @@ static inline void cgroup_fork(struct task_struct *p) {}
840static inline void cgroup_post_fork(struct task_struct *p) {} 840static inline void cgroup_post_fork(struct task_struct *p) {}
841static inline void cgroup_exit(struct task_struct *p, int callbacks) {} 841static inline void cgroup_exit(struct task_struct *p, int callbacks) {}
842 842
843static inline void cgroup_lock(void) {}
844static inline void cgroup_unlock(void) {}
845static inline int cgroupstats_build(struct cgroupstats *stats, 843static inline int cgroupstats_build(struct cgroupstats *stats,
846 struct dentry *dentry) 844 struct dentry *dentry)
847{ 845{