]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - include/linux/cgroup.h
cgroups: use simple wait in css_release()
[zynq/linux.git] / include / linux / cgroup.h
index b9cb94c3102a402539368cee3016d81b1cc173f9..3bd502178b986665257cc8478d5fc614c542b449 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/seq_file.h>
 #include <linux/kernfs.h>
 #include <linux/wait.h>
+#include <linux/work-simple.h>
 
 #ifdef CONFIG_CGROUPS
 
@@ -91,6 +92,7 @@ struct cgroup_subsys_state {
        /* percpu_ref killing and RCU release */
        struct rcu_head rcu_head;
        struct work_struct destroy_work;
+       struct swork_event destroy_swork;
 };
 
 /* bits in struct cgroup_subsys_state flags field */