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:

gecommit door
Benjamin Gaignard

bovenliggende
2a3467063a
commit
2c83f58161
@@ -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];
|
||||
};
|
||||
|
Verwijs in nieuw issue
Block a user