]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
clockevents: enforce reprogram in oneshot setup
authorThomas Gleixner <tglx@linutronix.de>
Wed, 3 Sep 2008 21:37:03 +0000 (21:37 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 5 Sep 2008 09:11:52 +0000 (11:11 +0200)
commit7205656ab48da29a95d7f55e43a81db755d3cb3a
tree7721904e6912a9dcd09fc4041dfb07807c2ef4b7
parentd4496b39559c6d43f83e4c08b899984f8b8089b5
clockevents: enforce reprogram in oneshot setup

In tick_oneshot_setup we program the device to the given next_event,
but we do not check the return value. We need to make sure that the
device is programmed enforced so the interrupt handler engine starts
working. Split out the reprogramming function from tick_program_event()
and call it with the device, which was handed in to tick_setup_oneshot().
Set the force argument, so the devices is firing an interrupt.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/time/tick-oneshot.c