]> git.karo-electronics.de Git - mv-sheeva.git/commit
drm/i915: fix up a raw 64bit divide
authorAndy Whitcroft <apw@canonical.com>
Wed, 1 Jul 2009 14:20:59 +0000 (15:20 +0100)
committerEric Anholt <eric@anholt.net>
Thu, 2 Jul 2009 01:01:11 +0000 (18:01 -0700)
commit956dba3caaf66b84fe5f6180e0e4dd03902c7980
treee81ff1c3ae6fdd395ffc00be1c53ff17bdb6f579
parent12682a971160959072c4970da9b7778709f60bc9
drm/i915: fix up a raw 64bit divide

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@canonical.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c