Home
last modified time | relevance | path

Searched hist:"22 a3f9a2" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/rxrpc/
H A Dar-internal.h22a3f9a2 Thu Sep 17 11:12:53 CDT 2015 Ksenija Stanojevic <ksenija.stanojevic@gmail.com> rxrpc: Replace get_seconds with ktime_get_seconds

Replace time_t type and get_seconds function which are not y2038 safe
on 32-bit systems. Function ktime_get_seconds use monotonic instead of
real time and therefore will not cause overflow.

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
22a3f9a2 Thu Sep 17 11:12:53 CDT 2015 Ksenija Stanojevic <ksenija.stanojevic@gmail.com> rxrpc: Replace get_seconds with ktime_get_seconds

Replace time_t type and get_seconds function which are not y2038 safe
on 32-bit systems. Function ktime_get_seconds use monotonic instead of
real time and therefore will not cause overflow.

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>