From: Li Zefan Date: Thu, 2 Apr 2009 23:57:50 +0000 (-0700) Subject: cgroups: add 'data' field to struct cgroup_scanner X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bd1a8ab73edd449fecda633449cc277b856ad4f5;p=linux-2.6-omap-h63xx.git cgroups: add 'data' field to struct cgroup_scanner We need to pass some data to test_task() or process_task() in some cases. Will be used later. Signed-off-by: Li Zefan Cc: KAMEZAWA Hiroyuki Cc: Paul Menage Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 43763bd772b..4316a546beb 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h @@ -337,6 +337,7 @@ struct cgroup_scanner { void (*process_task)(struct task_struct *p, struct cgroup_scanner *scan); struct ptr_heap *heap; + void *data; }; /*