Revert "netprio_cgroup: make local table static"
authorDavid S. Miller <davem@davemloft.net>
Fri, 12 Apr 2013 07:06:44 +0000 (03:06 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Apr 2013 07:06:44 +0000 (03:06 -0400)
This reverts commit 763eff57de893a27f8f18855f17033c92598c423.

It causes build regressions, as per Stephen Rothwell:

====================
After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

net/core/netprio_cgroup.c:250:29: error: static declaration of 'net_prio_subsys' follows non-static declaration
include/linux/cgroup_subsys.h:71:1: note: previous declaration of 'net_prio_subsys' was here
====================

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netprio_cgroup.c

index 7aa885001aba1750a32019336bbe15993ae998c1..0777d0aa18c3814a42a338a25d3508d9654c5797 100644 (file)
@@ -247,7 +247,7 @@ static struct cftype ss_files[] = {
        { }     /* terminate */
 };
 
-static struct cgroup_subsys net_prio_subsys = {
+struct cgroup_subsys net_prio_subsys = {
        .name           = "net_prio",
        .css_alloc      = cgrp_css_alloc,
        .css_online     = cgrp_css_online,