diff options
| author | Arnd Bergmann <[email protected]> | 2019-02-02 07:34:44 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-03 11:17:30 -0800 |
| commit | fe0c72f3db11be752e7c06efad9fa27af1327c47 (patch) | |
| tree | d18ecf1c437ae64936226349ebaab124a1fb811a /tools/perf/scripts/python/stackcollapse.py | |
| parent | a9bcfd1d176eb2109f74e1e4eeabdedf22321003 (diff) | |
socket: move compat timeout handling into sock.c
This is a cleanup to prepare for the addition of 64-bit time_t
in O_SNDTIMEO/O_RCVTIMEO. The existing compat handler seems
unnecessarily complex and error-prone, moving it all into the
main setsockopt()/getsockopt() implementation requires half
as much code and is easier to extend.
32-bit user space can now use old_timeval32 on both 32-bit
and 64-bit machines, while 64-bit code can use
__old_kernel_timeval.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Deepa Dinamani <[email protected]>
Acked-by: Willem de Bruijn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions