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