diff options
| author | Arnd Bergmann <[email protected]> | 2015-09-27 16:45:11 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-09-29 04:03:35 +0200 |
| commit | e8453c24d7f610ec67cc1bbbcf5c8b6880645672 (patch) | |
| tree | d6c926c891434ee2bb82bdb1e0209cce6e6031b9 /tools/perf/scripts/python | |
| parent | 5e50efea6a4fe6c92dce3022878f91cf17bdceb8 (diff) | |
staging/lustre: use 'long' return type for cfs_duration_sec()
The cfs_duration_sec() converts a relative jiffies value into seconds,
and returns that number as a time_t. We know that a 32-bit type is
enough here, because the result is order of magnitudes smaller than
the difference in jiffies that is also expressed as a 'long', so
we can safely replace the time_t type with long as well.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Oleg Drokin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions