]> git.baikalelectronics.ru Git - kernel.git/commit
netprio_cgroup: Fix build break
authorNeil Horman <nhorman@tuxdriver.com>
Wed, 23 Nov 2011 20:52:58 +0000 (15:52 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Nov 2011 20:52:58 +0000 (15:52 -0500)
commit73da87c8714aa0473544275a2321c179af7ae034
tree8208f86c22fd74c30701c827be69a85a40af015a
parent3c3ed11e9efe8d2d813b48fdd44d68026d79b818
netprio_cgroup: Fix build break

I broke the build with the addition of netprio_cgroups if CONFIG_CGROUPS=n.
This patch corrects it by moving the offending struct into an ifdef
CONFIG_CGROUPS block.  Also clean up a few needless defines and inline functions
that don't get called if CONFIG_CGROUPS isn't defined while Im at it.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netprio_cgroup.h