]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/kthread.h
mm/memory_hotplug: export generic_online_page()
[linux.git] / include / linux / kthread.h
index 2c89e60bc7525515d1ff099e7009acb09c575754..0f9da966934e28e40d1315638a26d9a3a4ab597f 100644 (file)
@@ -4,7 +4,6 @@
 /* Simple interface for creating and stopping kernel threads without mess. */
 #include <linux/err.h>
 #include <linux/sched.h>
-#include <linux/cgroup.h>
 
 __printf(4, 5)
 struct task_struct *kthread_create_on_node(int (*threadfn)(void *data),
@@ -198,6 +197,8 @@ bool kthread_cancel_delayed_work_sync(struct kthread_delayed_work *work);
 
 void kthread_destroy_worker(struct kthread_worker *worker);
 
+struct cgroup_subsys_state;
+
 #ifdef CONFIG_BLK_CGROUP
 void kthread_associate_blkcg(struct cgroup_subsys_state *css);
 struct cgroup_subsys_state *kthread_blkcg(void);