diff options
author | David S. Miller <davem@davemloft.net> | 2013-04-12 03:06:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-12 03:06:44 -0400 |
commit | 6c6779856a294649dbb468ef46e893e80b0d72ad (patch) | |
tree | b38034a1a290d7d4fe328c4ceedfe5278e4effcf /net/core | |
parent | 5760f427ce98fc5576cd4fc7ceadd7ffd9b5feb9 (diff) | |
download | op-kernel-dev-6c6779856a294649dbb468ef46e893e80b0d72ad.zip op-kernel-dev-6c6779856a294649dbb468ef46e893e80b0d72ad.tar.gz |
Revert "netprio_cgroup: make local table static"
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>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/netprio_cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/netprio_cgroup.c b/net/core/netprio_cgroup.c index 7aa8850..0777d0a 100644 --- a/net/core/netprio_cgroup.c +++ b/net/core/netprio_cgroup.c @@ -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, |