nouveau: fix warning on 32-bit build.
authorDave Airlie <airlied@redhat.com>
Tue, 16 Oct 2012 06:40:53 +0000 (16:40 +1000)
committerDave 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

index b29237970fa082ba3cdc5dcd9497e5d7bbe0714b..5231786851805da5e68840668a29db856f56cdb6 100644 (file)
@@ -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