Re: [PATCH] it87_wdt: Add support for watchdogs with 8b timers

Andrew Morton
2010-09-21T23:44:03Z

On Tue, 14 Sep 2010 02:54:16 +0200
Ondrej Zajicek <santiago@crfreenet.org> wrote:

> +static int wdt_round_time(int t)
> +{
> + t += 59;
> + t -= t % 60;
> + return t;
> +}

fwiw, we could use kernel.h's roundup() here.