diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2015-02-09 16:54:10 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-07 04:02:26 +0100 |
commit | 3372ec28622083ac87daf18918a222fbee06f6f9 (patch) | |
tree | 15abebced96ef63405721de74c34c64f97052f3c /arch/x86/include | |
parent | tty: vt/vt: fix sparse warning (diff) | |
download | linux-3372ec28622083ac87daf18918a222fbee06f6f9.tar.xz linux-3372ec28622083ac87daf18918a222fbee06f6f9.zip |
vt: use msecs_to_jiffies for time conversion
Converting milliseconds to jiffies by "val * HZ / 1000" is technically
OK but msecs_to_jiffies(val) is the cleaner solution and handles all
corner cases correctly. This is a minor API consolidation only and
should make things more readable.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions