From: Greg KH Date: Fri, 3 May 2013 23:26:59 +0000 (-0700) Subject: cgroup.h: remove some functions that are now gone X-Git-Tag: upstream/snapshot3+hdmi~4814^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23958e729e7029678e746bf8f4094c8863a79c3d;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Acked-by: Li Zefan Signed-off-by: Tejun Heo --- diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 383c630..4f6f513 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h @@ -840,8 +840,6 @@ static inline void cgroup_fork(struct task_struct *p) {} static inline void cgroup_post_fork(struct task_struct *p) {} static inline void cgroup_exit(struct task_struct *p, int callbacks) {} -static inline void cgroup_lock(void) {} -static inline void cgroup_unlock(void) {} static inline int cgroupstats_build(struct cgroupstats *stats, struct dentry *dentry) {