]> 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)
commitb0da98dc8c4972337535ec94df42edc13fc464a0
tree8208f86c22fd74c30701c827be69a85a40af015a
parent399bc7bc628dd8e88bd601063e263708d4770956
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