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

From: Andrew Morton
Date: Tue Sep 21 2010 - 19:44:11 EST


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

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

fwiw, we could use kernel.h's roundup() here.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/