Re: [PATCH 1/1] i915: fix up a raw 64bit divide

From: Zhenyu Wang
Date: Wed Jul 01 2009 - 20:59:57 EST


On 2009.07.01 09:12:55 -0700, Jesse Barnes wrote:
> On Wed, 1 Jul 2009 15:20:59 +0100
> Andy Whitcroft <apw@xxxxxxxxxxxxx> wrote:
>
> > We are seeing compilation failures on i386 in some environments due
> > to an undefined reference as below:
> >
> > ERROR: "__udivdi3" [drivers/gpu/drm/i915/i915.ko] undefined!
> >
> > This is generated due to a raw 64 bit divide in the i915 driver. Fix
> > up this raw divide.
> >
> > Signed-off-by: Andy Whitcroft <apw@xxxxxxxxxxxxx>
>
> I think building with newer GCCs will prevent this error, but the fix
> looks fine.
>
> Acked-by: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>
>

yeah, sorry I didn't catch that.

Acked-by: Zhenyu Wang <zhenyuw@xxxxxxxxxxxxxxx>

--
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

Attachment: signature.asc
Description: Digital signature