IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs
authorShamir Rabinovitch <shamir.rabinovitch@oracle.com>
Wed, 9 Jan 2019 09:15:15 +0000 (11:15 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 11 Jan 2019 00:06:44 +0000 (17:06 -0700)
commit6fa8f1afd3373c456e556815ebc8cb2330d6c3fe
treeba6f492acc33fdad8f6b4479784d630245127425
parent0ada768517dafa1504ef5986ba04f118b7436960
IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs

The next patch will add dependency from ib_umem_get in to ib_uverbs so
move the required ib_umem_xxx functionality to it's correct module -
ib_uverbs - and avoid circular dependecy from the form of ib_core ->
ib_uverbs -> ib_core in depmod.

Since this now requires all drivers to be build modular if uverbs is
modular, hoist the test a couple drivers had into the main kconfig and
apply it to all drivers uniformly.

Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/Kconfig
drivers/infiniband/core/Makefile
drivers/infiniband/hw/hns/Kconfig
drivers/infiniband/hw/mlx4/Kconfig
drivers/infiniband/hw/mlx5/Kconfig
drivers/infiniband/hw/nes/Kconfig