Commit e92a559e authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

RDMA/qib: rename copy_io to qib_copy_io

Add the proper module prefix to avoid conflicts with a function
in the scheduler.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211126115817.2087431-2-hch@lst.deSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 5f480b1a
...@@ -425,7 +425,7 @@ static inline u32 clear_upper_bytes(u32 data, u32 n, u32 off) ...@@ -425,7 +425,7 @@ static inline u32 clear_upper_bytes(u32 data, u32 n, u32 off)
} }
#endif #endif
static void copy_io(u32 __iomem *piobuf, struct rvt_sge_state *ss, static void qib_copy_io(u32 __iomem *piobuf, struct rvt_sge_state *ss,
u32 length, unsigned flush_wc) u32 length, unsigned flush_wc)
{ {
u32 extra = 0; u32 extra = 0;
...@@ -975,7 +975,7 @@ static int qib_verbs_send_pio(struct rvt_qp *qp, struct ib_header *ibhdr, ...@@ -975,7 +975,7 @@ static int qib_verbs_send_pio(struct rvt_qp *qp, struct ib_header *ibhdr,
qib_pio_copy(piobuf, addr, dwords); qib_pio_copy(piobuf, addr, dwords);
goto done; goto done;
} }
copy_io(piobuf, ss, len, flush_wc); qib_copy_io(piobuf, ss, len, flush_wc);
done: done:
if (dd->flags & QIB_USE_SPCL_TRIG) { if (dd->flags & QIB_USE_SPCL_TRIG) {
u32 spcl_off = (pbufn >= dd->piobcnt2k) ? 2047 : 1023; u32 spcl_off = (pbufn >= dd->piobcnt2k) ? 2047 : 1023;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment