Ben Blum 8e039d84b3 cgroups: net_cls as module
Allows the net_cls cgroup subsystem to be compiled as a module

This patch modifies net/sched/cls_cgroup.c to allow the net_cls subsystem
to be optionally compiled as a module instead of builtin.  The
cgroup_subsys struct is moved around a bit to allow the subsys_id to be
either declared as a compile-time constant by the cgroup_subsys.h include
in cgroup.h, or, if it's a module, initialized within the struct by
cgroup_load_subsys.

Signed-off-by: Ben Blum <bblum@andrew.cmu.edu>
Acked-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Paul Menage <menage@google.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-03-23 13:06:14 -07:00
..
2010-02-10 12:31:10 -08:00
2010-02-18 14:30:18 -08:00
2009-11-25 15:14:13 -08:00
2009-12-26 20:38:23 -08:00
2010-02-10 12:31:10 -08:00
2010-02-18 14:30:18 -08:00
2009-12-15 08:53:25 -08:00
2010-02-22 16:21:12 -08:00
2010-03-05 13:34:03 -08:00
2010-03-15 16:00:47 -07:00
2010-03-02 14:28:49 -05:00
2010-03-22 09:57:19 -07:00
2010-03-23 13:06:14 -07:00
2010-02-18 14:12:06 -08:00
2010-02-18 14:30:18 -08:00
2010-03-05 13:34:03 -08:00
2010-03-03 01:04:37 -08:00
2009-12-17 10:51:40 -05:00