diff options
author | Tina Ruchandani | 2016-04-13 11:28:02 +0200 |
---|---|---|
committer | Benjamin Gaignard | 2016-06-27 10:18:09 +0200 |
commit | 2c83f581611491e5efcc619e1198f0fcad9f330b (patch) | |
tree | ca23b1199709c00a324235bc1d9cea3d37c39ab4 /drivers/gpu/drm/sti/sti_plane.h | |
parent | Merge tag 'mediatek-drm-2016-06-20' of git://git.pengutronix.de/git/pza/linux... (diff) | |
download | kernel-qcow2-linux-2c83f581611491e5efcc619e1198f0fcad9f330b.tar.gz kernel-qcow2-linux-2c83f581611491e5efcc619e1198f0fcad9f330b.tar.xz kernel-qcow2-linux-2c83f581611491e5efcc619e1198f0fcad9f330b.zip |
drm/sti: Use 64-bit timestamps
'struct timespec' uses a 32-bit field for seconds, which
will overflow in year 2038 and beyond. This patch is part
of a larger attempt to remove instances of timeval, timespec
and time_t, all of which suffer from the y2038 issue, from the
kernel.
Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/sti/sti_plane.h')
-rw-r--r-- | drivers/gpu/drm/sti/sti_plane.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sti/sti_plane.h b/drivers/gpu/drm/sti/sti_plane.h index 39d39f5b7dd9..e0ea1dd3bb88 100644 --- a/drivers/gpu/drm/sti/sti_plane.h +++ b/drivers/gpu/drm/sti/sti_plane.h @@ -55,7 +55,7 @@ struct sti_fps_info { unsigned int last_frame_counter; unsigned int curr_field_counter; unsigned int last_field_counter; - struct timespec last_timestamp; + ktime_t last_timestamp; char fps_str[FPS_LENGTH]; char fips_str[FPS_LENGTH]; }; |