diff options
author | Petr Machata | 2018-07-10 10:02:57 +0300 |
---|---|---|
committer | David S. Miller | 2018-07-11 23:10:19 -0700 |
commit | 3443b00e07eed5798605ba6524de37e1d3f1a4bf (patch) | |
tree | b3a8e6eb8e593482d31c1ac0cc45b3d970a1065e /mm/usercopy.c | |
parent | 80fd2d6ca5461b2752744df2e6e387cc65e7b86c (diff) |
team: Publish team_port_get_rcu()
A follow-up patch adds a new entry point, team_port_dev_txable(). Making
it an ordinary exported function would mean that any module that may
need the service in one of the supported configurations also
unconditionally needs to pull in the team module, whether or not the
user actually intends to create team interfaces.
To prevent that, team_port_dev_txable() is defined in if_team.h, and
therefore all dependencies of that function also need to be
publicly-visible.
Therefore move team_port_get_rcu() from team.c to if_team.h.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/usercopy.c')
0 files changed, 0 insertions, 0 deletions