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>
This commit is contained in:
Tina Ruchandani
2016-04-13 02:28:02 -07:00
gecommit door Benjamin Gaignard
bovenliggende 2a3467063a
commit 2c83f58161
2 gewijzigde bestanden met toevoegingen van 4 en 14 verwijderingen

Bestand weergeven

@@ -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];
};