diff options
| author | Deepa Dinamani <deepa.kernel@gmail.com> | 2019-02-02 10:34:47 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-02-03 14:17:30 -0500 |
| commit | bcb3fc3247e5a7ceb467ca0cfdaa4c1b830dd8f9 (patch) | |
| tree | ff577b737e3438a27776b796f5f0f5ed46e3a09d /include/uapi/linux | |
| parent | 7f1bc6e95d7840d4305595b3e4025cddda88cee5 (diff) | |
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.
Reported-by: Arnd Bergmann <arnd@arndb.de>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Cc: sparclinux@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/time.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/time.h b/include/uapi/linux/time.h index 6b56a2208be7..04d5587f30d3 100644 --- a/include/uapi/linux/time.h +++ b/include/uapi/linux/time.h | |||
| @@ -63,10 +63,12 @@ struct __kernel_itimerspec { | |||
| 63 | * here, this is probably because it is not y2038 safe and needs to | 63 | * 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 | ||
| 66 | struct __kernel_old_timeval { | 67 | struct __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): |
