mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 09:59:32 +00:00
nouveau: fix warning on 32-bit build.
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
30f02cb7dd
commit
8a00b6af4c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue