diff options
| author | Ksenija Stanojevic <ksenija.stanojevic@gmail.com> | 2015-10-07 23:06:55 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-08 12:50:27 +0300 |
| commit | 367e8560e8d7a62d96e9b1d644028a3816e04206 (patch) | |
| tree | dfa5ef5fb8e96a8001b2ae263a9da0152da7f3ce /include | |
| parent | f60c265159e832ae389f3ab1acf9343d9e86a19a (diff) | |
| download | linux-367e8560e8d7a62d96e9b1d644028a3816e04206.tar.xz | |
Staging: fbtbt: Replace timespec with ktime_t
struct timespec will overflow in year 2038, so replace it with
ktime_t. And replace functions that use struct timespec,
timespec_sub with ktime_sub. Also use monotonic time instead of real
time, by replacing getnstimeofday with ktime_get, to be more robust
against leap seconds and settimeofday() calls.
Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
