summaryrefslogtreecommitdiff
path: root/kernel/time/tick-internal.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-09-03 21:37:03 (GMT)
committerThomas Gleixner <tglx@linutronix.de>2008-09-05 09:11:52 (GMT)
commit7205656ab48da29a95d7f55e43a81db755d3cb3a (patch)
tree7721904e6912a9dcd09fc4041dfb07807c2ef4b7 /kernel/time/tick-internal.h
parentd4496b39559c6d43f83e4c08b899984f8b8089b5 (diff)
downloadlinux-fsl-qoriq-7205656ab48da29a95d7f55e43a81db755d3cb3a.tar.xz
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>
Diffstat (limited to 'kernel/time/tick-internal.h')
0 files changed, 0 insertions, 0 deletions