mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-17 12:21:29 +00:00
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>
This commit is contained in:
parent
7f1bc6e95d
commit
bcb3fc3247
2 changed files with 12 additions and 0 deletions
|
@ -63,10 +63,12 @@ struct __kernel_itimerspec {
|
|||
* here, this is probably because it is not y2038 safe and needs to
|
||||
* be changed to use another interface.
|
||||
*/
|
||||
#ifndef __kernel_old_timeval
|
||||
struct __kernel_old_timeval {
|
||||
__kernel_long_t tv_sec;
|
||||
__kernel_long_t tv_usec;
|
||||
};
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The IDs of the various system clocks (for POSIX.1b interval timers):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue