Procházet zdrojové kódy

nouveau: fix warning on 32-bit build.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Dave Airlie před 13 roky
rodič
revize
8a00b6af4c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      drivers/gpu/drm/nouveau/core/subdev/therm/fan.c

+ 1 - 1
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