Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull timer fix from Ingo Molnar:
"Fix the alarm_timer_remaining() return value"

* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
alarmtimer: Return correct remaining time

+1 -1
+1 -1
kernel/time/alarmtimer.c
··· 594 594 { 595 595 struct alarm *alarm = &timr->it.alarm.alarmtimer; 596 596 597 - return ktime_sub(now, alarm->node.expires); 597 + return ktime_sub(alarm->node.expires, now); 598 598 } 599 599 600 600 /**