summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 30f02cb)
raw | patch | inline | side by side (parent: 30f02cb)
author | Dave Airlie <airlied@redhat.com> | |
Tue, 16 Oct 2012 06:40:53 +0000 (16:40 +1000) | ||
committer | Dave Airlie <airlied@redhat.com> | |
Tue, 16 Oct 2012 06:40:53 +0000 (16:40 +1000) |
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/therm/fan.c | patch | blob | history |
diff --git a/drivers/gpu/drm/nouveau/core/subdev/therm/fan.c b/drivers/gpu/drm/nouveau/core/subdev/therm/fan.c
index b29237970fa082ba3cdc5dcd9497e5d7bbe0714b..5231786851805da5e68840668a29db856f56cdb6 100644 (file)
end = ptimer->read(ptimer);
if (cycles == 5) {
- tach = (u64)60000000000;
+ tach = (u64)60000000000ULL;
do_div(tach, (end - start));
return tach;
} else