Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a00b6af authored by Dave Airlie's avatar Dave Airlie
Browse files

nouveau: fix warning on 32-bit build.



Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 30f02cb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -134,7 +134,7 @@ nouveau_therm_fan_sense(struct nouveau_therm *therm)
	end = ptimer->read(ptimer);
	end = ptimer->read(ptimer);


	if (cycles == 5) {
	if (cycles == 5) {
		tach = (u64)60000000000;
		tach = (u64)60000000000ULL;
		do_div(tach, (end - start));
		do_div(tach, (end - start));
		return tach;
		return tach;
	} else
	} else