diff options
| author | John Stultz <[email protected]> | 2015-09-15 01:05:20 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2015-10-02 20:53:01 +0000 |
| commit | 67dfae0cd72fec5cd158b6e5fb1647b7dbe0834c (patch) | |
| tree | 6b4740d09261098ec7731412b8537418df5ec255 /lib/string.c | |
| parent | clocksource/drivers/keystone: Fix bad NO_IRQ usage (diff) | |
| download | kernel-67dfae0cd72fec5cd158b6e5fb1647b7dbe0834c.tar.gz kernel-67dfae0cd72fec5cd158b6e5fb1647b7dbe0834c.zip | |
clocksource: Fix abs() usage w/ 64bit values
This patch fixes one cases where abs() was being used with 64-bit
nanosecond values, where the result may be capped at 32-bits.
This potentially could cause watchdog false negatives on 32-bit
systems, so this patch addresses the issue by using abs64().
Signed-off-by: John Stultz <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
