提交 8a00b6af 编写于 作者: D Dave Airlie

nouveau: fix warning on 32-bit build.

Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 30f02cb7
...@@ -134,7 +134,7 @@ nouveau_therm_fan_sense(struct nouveau_therm *therm) ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册