diff options
author | Ben Blum <bblum@andrew.cmu.edu> | 2010-03-23 06:24:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-23 21:06:14 +0100 |
commit | 8e039d84b323c4503c4d56863faa47c783660826 (patch) | |
tree | fd3fed884bf5f6309893d6844cabb9dcf3f9838a /net/dcb | |
parent | netxen: The driver doesn't work on NX_P3_B1 so cause probe to fail. (diff) | |
download | linux-8e039d84b323c4503c4d56863faa47c783660826.tar.xz linux-8e039d84b323c4503c4d56863faa47c783660826.zip |
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>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions