Skip to content

Commit

Permalink
Revert "netprio_cgroup: make local table static"
Browse files Browse the repository at this point in the history
This reverts commit 763eff5.

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>
  • Loading branch information
David S. Miller committed Apr 12, 2013
1 parent 5760f42 commit 6c67798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/core/netprio_cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6c67798

Please sign in to comment.