diff options
| author | Ksenija Stanojevic <ksenija.stanojevic@gmail.com> | 2015-10-02 20:24:05 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 11:32:56 +0300 |
| commit | 851f7c0e62dc564bf99e295b3c498d3d96a73b4a (patch) | |
| tree | 53e90ab77e040afa5947e754fcf6e9acb2fe34d7 /include/linux/pps_kernel.h | |
| parent | 51abf45c23872df0a43dbe849eb4439ebda6145f (diff) | |
| download | linux-851f7c0e62dc564bf99e295b3c498d3d96a73b4a.tar.xz | |
Staging: olpc_dcon: Replace timespec with ktime_t
Struct timespec will overflow in year 2038, here it will not cause an
overflow because it is used with timespec_sub, but still has to be
removed as part of y2038 changes. Replace it with ktime_t. Also use
monotonic instead of real-time by replacing functions getnstimeofday
with ktime_get.
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/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions
