[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100921164350.82de425e.akpm@linux-foundation.org>
Date: Tue, 21 Sep 2010 16:43:50 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Ondrej Zajicek <santiago@...reenet.org>
Cc: olivers137@....com, wim@...ana.be, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] it87_wdt: Add support for watchdogs with 8b timers
On Tue, 14 Sep 2010 02:54:16 +0200
Ondrej Zajicek <santiago@...reenet.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists