linux/drivers/infiniband/hw/hns
Arnd Bergmann 46bdf77768 RDMA: Fix dependencies for rdma_user_mmap_io
The mlx4 driver produces a link error when it is configured
as built-in while CONFIG_INFINIBAND_USER_ACCESS is set to =m:

drivers/infiniband/hw/mlx4/main.o: In function `mlx4_ib_mmap':
main.c:(.text+0x1af4): undefined reference to `rdma_user_mmap_io'

The same function is called from mlx5, which already has a
dependency to ensure we can call it, and from hns, which
appears to suffer from the same problem.

This adds the same dependency that mlx5 uses to the other two.

Fixes: 6745d356ab ("RDMA/hns: Use rdma_user_mmap_io")
Fixes: c282da4109 ("RDMA/mlx4: Use rdma_user_mmap_io")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-09-26 13:50:40 -06:00
..
hns_roce_ah.c RDMA/hns: Program the tclass and flow label into the hardware 2018-07-30 20:42:44 -06:00
hns_roce_alloc.c IB/hns: Use zeroing memory allocator instead of allocator/memset 2018-06-04 10:50:04 -06:00
hns_roce_cmd.c RDMA/hns: Add reset process for RoCE in hip08 2018-05-30 20:45:02 -04:00
hns_roce_cmd.h RDMA/hns: Add eq support of hip08 2017-12-22 09:21:45 -07:00
hns_roce_common.h RDMA/hns: Update the implementation of set_mac 2018-07-11 14:09:25 -06:00
hns_roce_cq.c RDMA/hns: Bugfix for cq record db for kernel 2018-05-23 15:45:44 -06:00
hns_roce_db.c RDMA/hns: Support flush cqe for hip08 in kernel space 2018-08-02 20:03:25 -06:00
hns_roce_device.h RDMA/hns: Use rdma_user_mmap_io 2018-09-20 16:19:30 -04:00
hns_roce_hem.c RDMA/hns: Use delay instead of usleep 2018-07-26 16:51:47 -06:00
hns_roce_hem.h RDMA/hns: Get rid of page operation after dma_alloc_coherent 2017-12-01 12:21:27 -07:00
hns_roce_hw_v1.c Merge branch 'linus/master' into rdma.git for-next 2018-08-16 14:21:29 -06:00
hns_roce_hw_v1.h RDMA/hns: Fix endian conversions and annotations 2018-07-11 14:09:25 -06:00
hns_roce_hw_v2.c RDMA/hns: Move all prints out of irq handle 2018-09-19 15:33:57 -06:00
hns_roce_hw_v2.h RDMA/hns: Use macro instead of magic number 2018-07-30 20:42:44 -06:00
hns_roce_main.c RDMA/hns: Use rdma_user_mmap_io 2018-09-20 16:19:30 -04:00
hns_roce_mr.c treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
hns_roce_pd.c RDMA/hns: Fix usage of bitmap allocation functions return values 2018-08-15 15:08:35 -06:00
hns_roce_qp.c RDMA/hns: Fix usage of bitmap allocation functions return values 2018-08-15 15:08:35 -06:00
Kconfig RDMA: Fix dependencies for rdma_user_mmap_io 2018-09-26 13:50:40 -06:00
Makefile RDMA/hns: Support rq record doorbell for the user space 2018-03-13 16:40:15 -04:00