Files
linux-apfs/arch/tile/kernel
Henrik Austad 767f30210b tile: avoid overflow in ns2cycles
In commit 4cecf6d401 ("sched, x86: Avoid unnecessary overflow in
sched_clock") and in recent patch "clocksource: avoid unnecessary
overflow in cyclecounter_cyc2ns()" https://lkml.org/lkml/2014/3/4/17,
the mult-shift approach is replaced by 2 steps to avoid storing a large,
intermediate value that could overflow.

arch/tile/kernel/time.c has a similar pattern in cycles2ns, and this
copies the same pattern in this function

CC: John Stultz <johnstul@us.ibm.com>
CC: Mike Galbraith <bitbucket@online.de>
CC: Salman Qazi <sqazi@google.com>
Signed-off-by: Henrik Austad <henrik@austad.us>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
2014-03-06 11:53:12 -05:00
..
2013-09-16 15:47:32 -04:00
2013-08-30 10:20:13 -04:00
2013-09-03 14:51:26 -04:00
2013-08-30 11:55:53 -04:00
2013-09-03 14:51:26 -04:00
2013-08-30 10:20:13 -04:00
2012-12-14 13:06:43 +10:30
2013-09-03 14:53:29 -04:00
2013-08-12 14:46:18 -04:00
2013-09-13 11:15:24 -04:00
2013-09-03 14:53:29 -04:00
2013-09-30 10:34:46 -04:00
2013-08-13 16:26:01 -04:00
2014-03-06 11:53:12 -05:00
2013-08-30 11:56:34 -04:00
2013-08-13 16:26:21 -04:00