summaryrefslogtreecommitdiff
path: root/kernel/time/tick-common.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-04-13 21:02:25 (GMT)
committerThomas Gleixner <tglx@linutronix.de>2015-07-20 09:37:46 (GMT)
commit5a447f09a8dffc0dd7569aec614ad3613a050098 (patch)
treeab6800e9d0c88c038d82bb4d04722523e5262f08 /kernel/time/tick-common.c
parent87dc11220df266d7d4b6dc594b55d0729b92809d (diff)
downloadlinux-5a447f09a8dffc0dd7569aec614ad3613a050098.tar.xz
staging: ozwpan: Fix hrtimer wreckage
oz_timer_add() modifies the expiry value of an active timer, which results in data corruption. Use hrtimer_start() and remove the silly conditional. While at it use the proper helper function to convert milliseconds to ktime. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Shigekatsu Tateno <shigekatsu.tateno@atmel.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: devel@driverdev.osuosl.org Link: http://lkml.kernel.org/r/20150413210035.357448657@linutronix.de
Diffstat (limited to 'kernel/time/tick-common.c')
0 files changed, 0 insertions, 0 deletions