time: Refactor msecs_to_jiffies
authorNicholas Mc Guire <[email protected]>
Mon, 18 May 2015 12:19:13 +0000 (14:19 +0200)
committerThomas Gleixner <[email protected]>
Tue, 19 May 2015 13:13:46 +0000 (15:13 +0200)
commitca42aaf0c8616cde6161ea4391dff364efeee46a
treed09e7cd821103669ac324650536e5bfb9a14fb7c
parent0a227985d4a993a322ff72ecbaeee2611d624216
time: Refactor msecs_to_jiffies

Refactor the msecs_to_jiffies conditional code part in time.c and
jiffies.h putting it into conditional functions rather than #ifdefs
to improve readability.

[ tglx: Verified that there is no binary code change ]

Signed-off-by: Nicholas Mc Guire <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: John Stultz <[email protected]>
Cc: Andrew Hunter <[email protected]>
Cc: Paul Turner <[email protected]>
Cc: Michal Marek <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
include/linux/jiffies.h
kernel/time/time.c