It will be used by the hwpoison inject code for releasing the css grabbed by try_get_mem_cgroup_from_page(). CC: Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> CC: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> CC: Li Zefan <lizf@xxxxxxxxxxxxxx> CC: Paul Menage <menage@xxxxxxxxxx> Signed-off-by: Wu Fengguang <fengguang.wu@xxxxxxxxx> --- include/linux/cgroup.h | 3 +++ 1 file changed, 3 insertions(+) --- linux-mm.orig/include/linux/cgroup.h 2009-11-02 10:18:41.000000000 +0800 +++ linux-mm/include/linux/cgroup.h 2009-11-02 10:26:22.000000000 +0800 @@ -581,6 +581,9 @@ static inline int cgroupstats_build(stru return -EINVAL; } +struct cgroup_subsys_state; +static inline void css_put(struct cgroup_subsys_state *css) {} + #endif /* !CONFIG_CGROUPS */ #endif /* _LINUX_CGROUP_H */ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>