linux/kernel/time
Thomas Gleixner b7ad2a012a clockevents: Use u32 for mult and shift factors
The mult and shift factors of clock events differ in their data type
from those of clock sources for no reason. u32 is sufficient for
both. shift is always <= 32 and mult is limited to 2^32-1 to avoid
64bit multiplication overflows in the conversion.

Preparatory patch for a generic mult/shift factor calculation
function.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Mikael Pettersson <mikpe@it.uu.se>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Cc: John Stultz <johnstul@us.ibm.com>
LKML-Reference: <20091111134229.725664788@linutronix.de>
2011-07-25 09:29:10 +08:00
..
clockevents.c clockevents: Add missing include to pacify sparse 2010-01-28 15:00:24 -08:00
clocksource.c Merge remote-tracking branch 'linux-2.6.32.y/master' into develop 2011-06-16 11:56:59 +08:00
jiffies.c
Kconfig
Makefile
ntp.c
tick-broadcast.c tick: Clear broadcast active bit when switching to oneshot 2011-05-23 11:20:19 -07:00
tick-common.c clockevents: Prevent oneshot mode when broadcast device is periodic 2011-03-07 15:17:54 -08:00
tick-internal.h clockevents: Prevent oneshot mode when broadcast device is periodic 2011-03-07 15:17:54 -08:00
tick-oneshot.c
tick-sched.c nohz: Reuse ktime in sub-functions of tick_check_idle. 2010-08-13 13:20:13 -07:00
timecompare.c
timeconv.c
timekeeping.c time: Compensate for rounding on odd-frequency clocksources 2011-06-23 15:24:09 -07:00
timer_list.c clockevents: Use u32 for mult and shift factors 2011-07-25 09:29:10 +08:00
timer_stats.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00