diff options
author | Daniel Wagner <[email protected]> | 2012-09-12 16:12:03 +0200 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2012-09-14 09:57:28 -0700 |
commit | 51e4e7faba786d33e5e33f8776c5027a1c8d6fb7 (patch) | |
tree | 47d935eca61b5cfe12012117e7460f2814c0d10d /net/lapb | |
parent | 8fb974c937570be38f944986456467b39a2dc252 (diff) |
cgroup: net_prio: Do not define task_netpioidx() when not selected
task_netprioidx() should not be defined in case the configuration is
CONFIG_NETPRIO_CGROUP=n. The reason is that in a following patch the
net_prio_subsys_id will only be defined if CONFIG_NETPRIO_CGROUP!=n.
When net_prio is not built at all any callee should only get an empty
task_netprioidx() without any references to net_prio_subsys_id.
Signed-off-by: Daniel Wagner <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: Li Zefan <[email protected]>
Acked-by: Neil Horman <[email protected]>
Cc: Gao feng <[email protected]>
Cc: Jamal Hadi Salim <[email protected]>
Cc: John Fastabend <[email protected]>
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions