Add round_jiffies_up and related routines
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 6 Nov 2008 07:42:48 +0000 (08:42 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 6 Nov 2008 07:42:48 +0000 (08:42 +0100)
This patch (as1158b) adds round_jiffies_up() and friends.  These
routines work like the analogous round_jiffies() functions, except
that they will never round down.

The new routines will be useful for timeouts where we don't care
exactly when the timer expires, provided it doesn't expire too soon.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found