Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1420994

Re: [PATCH 1/3] infiniband: rxe: avoid 64-bit division

From Moni Shoua <monis@mellanox.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] infiniband: rxe: avoid 64-bit division
Date 2016-06-13 17:30 +0200
Message-ID <rJBYm-86X-27@gated-at.bofh.it> (permalink)
References <rJzDb-6p5-7@gated-at.bofh.it> <rJzWx-6Md-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


thanks. will be applied to next series

On Mon, Jun 13, 2016 at 4:18 PM, Leon Romanovsky <leon@kernel.org> wrote:
> On Mon, Jun 13, 2016 at 02:54:53PM +0200, Arnd Bergmann wrote:
>> The rxe driver fails to build on 32-bit because of a 64-bit division:
>>
>> In function `rxe_qp_from_attr':
>> :(.text+0x53158): undefined reference to `__aeabi_uldivmod'
>>
>> We can easily avoid this division by converting the nanosecond value
>> into jiffies directly rather than converting to microseconds first.
>>
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>
> Thanks Arnd,
> All three patches are applied on topic/rxe now.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] infiniband: rxe: avoid 64-bit division Arnd Bergmann <arnd@arndb.de> - 2016-06-13 15:00 +0200
  [PATCH 3/3] infiniband: rxe: fix 32-bit build warnings Arnd Bergmann <arnd@arndb.de> - 2016-06-13 15:00 +0200
    Re: [PATCH 3/3] infiniband: rxe: fix 32-bit build warnings Moni Shoua <monis@mellanox.com> - 2016-06-13 17:30 +0200
  Re: [PATCH 1/3] infiniband: rxe: avoid 64-bit division Leon Romanovsky <leon@kernel.org> - 2016-06-13 15:20 +0200
    Re: [PATCH 1/3] infiniband: rxe: avoid 64-bit division Moni Shoua <monis@mellanox.com> - 2016-06-13 17:30 +0200

csiph-web