commit | 9c133c469d38043d5aadaa03f2fb840d88d1cf4f | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Thu Nov 06 08:42:48 2008 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Nov 06 08:42:48 2008 +0100 |
tree | c9af63f0c25efc7454fc3f46b362c80056977341 | |
parent | 89f97496e81d2112b5e41416fe3020688c443818 [diff] |
Add round_jiffies_up and related routines 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>