On 05.03.2012 00:19, Gianluca Gennari wrote:
Il 29/02/2012 22:30, Geert Uytterhoeven ha scritto:
http://kisskb.ellerman.id.au/kisskb/buildresult/5759200/ ERROR:
"__udivdi3" [drivers/media/dvb/frontends/rtl2830.ko] undefined!
I didn't look too deeply into it, but I think it's caused by the
"num
On Sun, Mar 4, 2012 at 23:19, Gianluca Gennari wrote:
> Probably the best solution is to use div_u64.
> The following patch fixed the warning on my 32 bit system.
>
> Signed-off-by: Gianluca Gennari
Thanks, that fixes it (div_u64() is do_div() on 32-bit).
Acked-by: Geert Uytterhoeven
> ---
>
Il 29/02/2012 22:30, Geert Uytterhoeven ha scritto:
> http://kisskb.ellerman.id.au/kisskb/buildresult/5759200/ ERROR:
> "__udivdi3" [drivers/media/dvb/frontends/rtl2830.ko] undefined!
>
> I didn't look too deeply into it, but I think it's caused by the
> "num /= priv->cfg.xtal" in rtl2830_init() (
http://kisskb.ellerman.id.au/kisskb/buildresult/5759200/
ERROR: "__udivdi3" [drivers/media/dvb/frontends/rtl2830.ko] undefined!
I didn't look too deeply into it, but I think it's caused by the "num
/= priv->cfg.xtal"
in rtl2830_init() (with num being u64).
Can't it use do_div() instead?
Gr{oetje