Search Linux Wireless

Re: car9170: undefined reference to `__udivdi3'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/25/2011 04:00 PM, Christian Lamparter wrote:
> Please try the attached patch:
> ---
> [PATCH v1] carl9170: Use do_div for 64-bit division to fix 32-bit kernels
> 
> Use the do_div macro for 64-bit division. Otherwise, the module will
> reference __udivdi3 under 32-bit kernels, which is not allowed in
> kernel space.
> 
> drivers/built-in.o: In function `carl9170_collect_tally':
> cmd.c:191: undefined reference to `__udivdi3'
> cmd.c:192: undefined reference to `__udivdi3'
> cmd.c:193: undefined reference to `__udivdi3'

Works. Thanks for fixing this quickly.

> Reported-by: Kalle Valo <kvalo@xxxxxxxxxx>
> Signed-off-by: Christian Lamparter <chunkeey@xxxxxxxxxxxxxx>

Tested-by: Kalle Valo <kvalo@xxxxxxxxxx>

Kalle
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux