diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-10-25 22:56:17 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-11-15 14:38:29 +0100 |
commit | 75d319c06e6a76f67549c0ae1007dc3167804f4e (patch) | |
tree | 5aed38b6b958308fe83e580a6222767a91bd2b1e /kernel/power | |
parent | bdd565f817a74b9e30edec108f7cb1dbc762b8a6 (diff) | |
download | linux-75d319c06e6a76f67549c0ae1007dc3167804f4e.tar.gz linux-75d319c06e6a76f67549c0ae1007dc3167804f4e.tar.bz2 linux-75d319c06e6a76f67549c0ae1007dc3167804f4e.zip |
y2038: syscalls: change remaining timeval to __kernel_old_timeval
All of the remaining syscalls that pass a timeval (gettimeofday, utime,
futimesat) can trivially be changed to pass a __kernel_old_timeval
instead, which has a compatible layout, but avoids ambiguity with
the timeval type in user space.
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'kernel/power')
-rw-r--r-- | kernel/power/power.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/power.h b/kernel/power/power.h index 44bee462ff57..7cdc64dc2373 100644 --- a/kernel/power/power.h +++ b/kernel/power/power.h @@ -179,7 +179,7 @@ extern void swsusp_close(fmode_t); extern int swsusp_unmark(void); #endif -struct timeval; +struct __kernel_old_timeval; /* kernel/power/swsusp.c */ extern void swsusp_show_speed(ktime_t, ktime_t, unsigned int, char *); |