History

arch: sparc: Override struct __kernel_old_timeval

struct __kernel_old_timeval is supposed to have the same layout as struct timeval. But, it was inadvarently missed that __kernel_suseconds has a different definition for sparc64. Provide an asm-specific override that fixes it.

Deepa Dinamani committed 7 years ago

Commit bcb3fc31 parent 7f1bc6e2 files · +12 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/time.h+2−0
@@ -63,10 +63,12 @@ struct __kernel_itimerspec { · 62 unmodified lines
63 * here, this is probably because it is not y2038 safe and needs to63 * here, this is probably because it is not y2038 safe and needs to
64 * be changed to use another interface.64 * be changed to use another interface.
65 */65 */
66#ifndef __kernel_old_timeval
66struct __kernel_old_timeval {67struct __kernel_old_timeval {
67 __kernel_long_t tv_sec;68 __kernel_long_t tv_sec;
68 __kernel_long_t tv_usec;69 __kernel_long_t tv_usec;
69};70};
71#endif
70 72
71/*73/*
72 * The IDs of the various system clocks (for POSIX.1b interval timers):74 * The IDs of the various system clocks (for POSIX.1b interval timers):