diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-04-12 15:19:44 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-04-20 16:20:18 +0200 |
commit | 2a70b7879b84d471fd0e440f027bba310e0c1fb7 (patch) | |
tree | ffb63998dfdb5fdd2636874299c9785c1271ee71 /ipc/shm.c | |
parent | b497ef570ecdeeaef4335ecc4f712cbaae0918a5 (diff) |
y2038: ipc: Use ktime_get_real_seconds consistently
In some places, we still used get_seconds() instead of
ktime_get_real_seconds(), and I'm changing the remaining ones now to
all use ktime_get_real_seconds() so we use the full available range for
timestamps instead of overflowing the 'unsigned long' return value in
year 2106 on 32-bit kernels.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions