Revert "net: netprio_cgroup: make net_prio_subsys static"
authorJohn Fastabend <john.r.fastabend@intel.com>
Fri, 9 Dec 2011 18:39:27 +0000 (13:39 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 18:39:27 +0000 (13:39 -0500)
commit0221cd51543972782af558c527e4ac58b32049fa
tree6d692f21ef937dc3febdd11ec871c03eecb84d46
parent6f8e4ad0eff5117ba895122674670f9c63b6e8d8
Revert "net: netprio_cgroup: make net_prio_subsys static"

This reverts commit 865d9f9f748fdc1943679ea65d9ee1dc55e4a6ae.

This commit breaks the build with CONFIG_NETPRIO_CGROUP=y so
revert it. It does build as a module though. The SUBSYS macro
in the cgroup core code automatically defines a subsys structure
as extern. Long term we should fix the macro. And I need to
fully build test things.

Tested with CONFIG_NETPRIO_CGROUP={y|m|n} with and without
CONFIG_CGROUPS defined.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
CC: Neil Horman <nhorman@tuxdriver.com>
Reported-By: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netprio_cgroup.c