Re: linux-next: Tree for April 9

From: Mauro Carvalho Chehab
Date: Sat Apr 11 2009 - 07:10:32 EST


On Fri, 10 Apr 2009 23:11:58 -0700
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Thu, 9 Apr 2009 16:33:05 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> > I have created today's linux-next tree at
> > git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git
>
> It has a link failure with i386 allmodconfig due to missing __divdi3.
>
> It's due to this statement in drivers/media/video/cx88/cx88-dsp.c's
> int_goertzel():
>
> return (u32)(((s64)s_prev2*s_prev2 + (s64)s_prev*s_prev -
> (s64)coeff*s_prev2*s_prev/32768)/N/N);
>
> that gem will need to be converted to use div64() or similar, please.

Updated to use do_div().


Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/