diff options
author | Roland Dreier <rolandd@cisco.com> | 2007-10-23 11:44:24 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-10-23 11:44:24 -0700 |
commit | d8aa0ddd4ca9e5647188baefaafccf2d6c632d86 (patch) | |
tree | 0fb3dcf04ad4a87012c39dfd9a4a0cd38f467ac7 | |
parent | aa363c4b8913fa9cd97b45c70f3842ae90e31d62 (diff) | |
download | libmlx4-d8aa0ddd4ca9e5647188baefaafccf2d6c632d86.tar.gz |
Change __always_inline to inline
__always_inline is a kernel macro, so we can't use it in userspace code.
The inline keyword seems to work just as well in the one place libmlx4
uses it, so just change __always_inline to inline.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r-- | src/qp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -115,8 +115,8 @@ static int wq_overflow(struct mlx4_wq *wq, int nreq, struct mlx4_cq *cq) return cur + nreq >= wq->max_post; } -static __always_inline void set_raddr_seg(struct mlx4_wqe_raddr_seg *rseg, - uint64_t remote_addr, uint32_t rkey) +static inline void set_raddr_seg(struct mlx4_wqe_raddr_seg *rseg, + uint64_t remote_addr, uint32_t rkey) { rseg->raddr = htonll(remote_addr); rseg->rkey = htonl(rkey); |