]> git.baikalelectronics.ru Git - kernel.git/commit
time: Refactor msecs_to_jiffies
authorNicholas Mc Guire <hofrat@osadl.org>
Mon, 18 May 2015 12:19:13 +0000 (14:19 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 19 May 2015 13:13:46 +0000 (15:13 +0200)
commit8e6bec651a7770f2677e53d438be4101e2cec8d9
treed09e7cd821103669ac324650536e5bfb9a14fb7c
parentfbbb0d8dee43fd1c5190286c1e2c9826e9e2dd60
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 <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/1431951554-5563-2-git-send-email-hofrat@osadl.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/jiffies.h
kernel/time/time.c