[PATCH] Re: cx88-dsp.c: missing __divdi3 on 32bit kernel

2009-04-06 Thread Miroslav Šustek
Well this patch should solve it. I don't know how many samples are processed so: First patch is for situation when N*N fits in s32. Second one uses two divisions, but doesn't have any abnormal restrictions for N. Personally I think that two divisions won't hurt. :) - FILE: cx88-dsp_64bit_m

Re: [PATCH] Re: cx88-dsp.c: missing __divdi3 on 32bit kernel

2009-04-06 Thread Marton Balint
On Mon, 6 Apr 2009, Miroslav Šustek wrote: > Well this patch should solve it. > > I don't know how many samples are processed so: > First patch is for situation when N*N fits in s32. > Second one uses two divisions, but doesn't have any abnormal restrictions for > N. Both patches are fine, beac

Re: [PATCH] Re: cx88-dsp.c: missing __divdi3 on 32bit kernel

2009-04-08 Thread Marton Balint
On Tue, 7 Apr 2009, Marton Balint wrote: > On Mon, 6 Apr 2009, Miroslav Šustek wrote: > > > Well this patch should solve it. > > > > I don't know how many samples are processed so: > > First patch is for situation when N*N fits in s32. > > Second one uses two divisions, but doesn't have any abnor