|
@@ -208,7 +208,7 @@ static long sbwdog_ioctl(struct file *file, unsigned int cmd,
|
|
* get the remaining count from the ... count register
|
|
* get the remaining count from the ... count register
|
|
* which is 1*8 before the config register
|
|
* which is 1*8 before the config register
|
|
*/
|
|
*/
|
|
- ret = put_user(__raw_readq(user_dog - 8) / 1000000, p);
|
|
|
|
|
|
+ ret = put_user((u32)__raw_readq(user_dog - 8) / 1000000, p);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
return ret;
|
|
return ret;
|