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

From: Moni Shoua
Date: Mon Jun 13 2016 - 11:27:42 EST


thanks. will be applied to next series

On Mon, Jun 13, 2016 at 4:18 PM, Leon Romanovsky <leon@xxxxxxxxxx> 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@xxxxxxxx>
>
> Thanks Arnd,
> All three patches are applied on topic/rxe now.