summaryrefslogtreecommitdiff
path: root/kernel/time
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-04-13 21:02:25 +0000
committerThomas Gleixner <tglx@linutronix.de>2015-07-20 11:37:46 +0200
commit5a447f09a8dffc0dd7569aec614ad3613a050098 (patch)
treeab6800e9d0c88c038d82bb4d04722523e5262f08 /kernel/time
parent87dc11220df266d7d4b6dc594b55d0729b92809d (diff)
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')
0 files changed, 0 insertions, 0 deletions