aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2016-12-08 20:49:38 +0000
committerThomas Gleixner <[email protected]>2016-12-09 11:06:42 +0000
commitc029a2bec66e42e57538cb65e28618baf6a4b311 (patch)
tree44a053f24b8ab7f3a81826d181499aa0513b8812 /net/lapb/lapb_out.c
parenttimekeeping: Get rid of pointless typecasts (diff)
downloadkernel-c029a2bec66e42e57538cb65e28618baf6a4b311.tar.gz
kernel-c029a2bec66e42e57538cb65e28618baf6a4b311.zip
timekeeping: Use mul_u64_u32_shr() instead of open coding it
The resume code must deal with a clocksource delta which is potentially big enough to overflow the 64bit mult. Replace the open coded handling with the proper function. Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: David Gibson <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Cc: Parit Bhargava <[email protected]> Cc: Laurent Vivier <[email protected]> Cc: "Christopher S. Hall" <[email protected]> Cc: Chris Metcalf <[email protected]> Cc: Richard Cochran <[email protected]> Cc: Liav Rehana <[email protected]> Cc: John Stultz <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions