diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-09-03 17:37:03 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-09-05 05:11:52 -0400 |
commit | 7205656ab48da29a95d7f55e43a81db755d3cb3a (patch) | |
tree | 7721904e6912a9dcd09fc4041dfb07807c2ef4b7 /kernel/capability.c | |
parent | d4496b39559c6d43f83e4c08b899984f8b8089b5 (diff) |
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/capability.c')
0 files changed, 0 insertions, 0 deletions