From: Dave Airlie Date: Tue, 16 Oct 2012 06:40:53 +0000 (+1000) Subject: nouveau: fix warning on 32-bit build. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8a00b6af4cc547725f231c8367ddc7cb56b2cf76;p=linux-beck.git nouveau: fix warning on 32-bit build. Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/nouveau/core/subdev/therm/fan.c b/drivers/gpu/drm/nouveau/core/subdev/therm/fan.c index b29237970fa0..523178685180 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/therm/fan.c +++ b/drivers/gpu/drm/nouveau/core/subdev/therm/fan.c @@ -134,7 +134,7 @@ nouveau_therm_fan_sense(struct nouveau_therm *therm) end = ptimer->read(ptimer); if (cycles == 5) { - tach = (u64)60000000000; + tach = (u64)60000000000ULL; do_div(tach, (end - start)); return tach; } else