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 (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
6363 * here, this is probably because it is not y2038 safe and needs to
6464 * be changed to use another interface.
6565 */
66+#ifndef __kernel_old_timeval
6667 struct __kernel_old_timeval {
6768 __kernel_long_t tv_sec;
6869 __kernel_long_t tv_usec;
6970 };
71+#endif
7072
7173 /*
7274 * The IDs of the various system clocks (for POSIX.1b interval timers):

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t