time: Refactor usecs_to_jiffies
authorNicholas Mc Guire <hofrat@osadl.org>
Thu, 28 May 2015 17:09:55 +0000 (19:09 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 10 Jun 2015 09:31:13 +0000 (11:31 +0200)
commitae60d6a0e3a9197d37f8c8c4584a8ecd18518cd6
treec92be000e14cb3c626a9d978d66629a9f7afb078
parentd711b8b30c803b1b2aedf6a3474758798078f9e1
time: Refactor usecs_to_jiffies

Refactor the usecs_to_jiffies conditional code part in time.c and
jiffies.h putting it into conditional functions rather than #ifdefs
to improve readability. This is analogous to the msecs_to_jiffies()
cleanup in commit ca42aaf0c861 ("time: Refactor msecs_to_jiffies")

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Joe Perches <joe@perches.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Andrew Hunter <ahh@google.com>
Cc: Paul Turner <pjt@google.com>
Cc: Michal Marek <mmarek@suse.cz>
Link: http://lkml.kernel.org/r/1432832996-12129-1-git-send-email-hofrat@osadl.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/jiffies.h
kernel/time/time.c