diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-25 14:14:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-25 14:14:36 -0400 |
commit | 4dcb9239dad6cee17c538482619a5b659774ee51 (patch) | |
tree | b2a98a00eb4e419fb363f49f179c4cbd7b5b7c87 /arch/sparc | |
parent | 3acbd2de6bc3af215c6ed7732dfc097d1e238503 (diff) | |
parent | d59e0ba19481c0046d2ea2bd0e5344eeaf45aace (diff) |
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timekeeping updates from Thomas Gleixner:
"The timers and timekeeping departement provides:
- Another large y2038 update with further preparations for providing
the y2038 safe timespecs closer to the syscalls.
- An overhaul of the SHCMT clocksource driver
- SPDX license identifier updates
- Small cleanups and fixes all over the place"
* 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (31 commits)
tick/sched : Remove redundant cpu_online() check
clocksource/drivers/dw_apb: Add reset control
clocksource: Remove obsolete CLOCKSOURCE_OF_DECLARE
clocksource/drivers: Unify the names to timer-* format
clocksource/drivers/sh_cmt: Add R-Car gen3 support
dt-bindings: timer: renesas: cmt: document R-Car gen3 support
clocksource/drivers/sh_cmt: Properly line-wrap sh_cmt_of_table[] initializer
clocksource/drivers/sh_cmt: Fix clocksource width for 32-bit machines
clocksource/drivers/sh_cmt: Fixup for 64-bit machines
clocksource/drivers/sh_tmu: Convert to SPDX identifiers
clocksource/drivers/sh_mtu2: Convert to SPDX identifiers
clocksource/drivers/sh_cmt: Convert to SPDX identifiers
clocksource/drivers/renesas-ostm: Convert to SPDX identifiers
clocksource: Convert to using %pOFn instead of device_node.name
tick/broadcast: Remove redundant check
RISC-V: Request newstat syscalls
y2038: signal: Change rt_sigtimedwait to use __kernel_timespec
y2038: socket: Change recvmmsg to use __kernel_timespec
y2038: sched: Change sched_rr_get_interval to use __kernel_timespec
y2038: utimes: Rework #ifdef guards for compat syscalls
...
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/compat.h | 25 | ||||
-rw-r--r-- | arch/sparc/include/asm/unistd.h | 3 |
2 files changed, 7 insertions, 21 deletions
diff --git a/arch/sparc/include/asm/compat.h b/arch/sparc/include/asm/compat.h index 4eb51d2dae98..30b1763580b1 100644 --- a/arch/sparc/include/asm/compat.h +++ b/arch/sparc/include/asm/compat.h | |||
@@ -6,38 +6,23 @@ | |||
6 | */ | 6 | */ |
7 | #include <linux/types.h> | 7 | #include <linux/types.h> |
8 | 8 | ||
9 | #include <asm-generic/compat.h> | ||
10 | |||
9 | #define COMPAT_USER_HZ 100 | 11 | #define COMPAT_USER_HZ 100 |
10 | #define COMPAT_UTS_MACHINE "sparc\0\0" | 12 | #define COMPAT_UTS_MACHINE "sparc\0\0" |
11 | 13 | ||
12 | typedef u32 compat_size_t; | ||
13 | typedef s32 compat_ssize_t; | ||
14 | typedef s32 compat_clock_t; | ||
15 | typedef s32 compat_pid_t; | ||
16 | typedef u16 __compat_uid_t; | 14 | typedef u16 __compat_uid_t; |
17 | typedef u16 __compat_gid_t; | 15 | typedef u16 __compat_gid_t; |
18 | typedef u32 __compat_uid32_t; | 16 | typedef u32 __compat_uid32_t; |
19 | typedef u32 __compat_gid32_t; | 17 | typedef u32 __compat_gid32_t; |
20 | typedef u16 compat_mode_t; | 18 | typedef u16 compat_mode_t; |
21 | typedef u32 compat_ino_t; | ||
22 | typedef u16 compat_dev_t; | 19 | typedef u16 compat_dev_t; |
23 | typedef s32 compat_off_t; | ||
24 | typedef s64 compat_loff_t; | ||
25 | typedef s16 compat_nlink_t; | 20 | typedef s16 compat_nlink_t; |
26 | typedef u16 compat_ipc_pid_t; | 21 | typedef u16 compat_ipc_pid_t; |
27 | typedef s32 compat_daddr_t; | ||
28 | typedef u32 compat_caddr_t; | 22 | typedef u32 compat_caddr_t; |
29 | typedef __kernel_fsid_t compat_fsid_t; | 23 | typedef __kernel_fsid_t compat_fsid_t; |
30 | typedef s32 compat_key_t; | ||
31 | typedef s32 compat_timer_t; | ||
32 | |||
33 | typedef s32 compat_int_t; | ||
34 | typedef s32 compat_long_t; | ||
35 | typedef s64 compat_s64; | 24 | typedef s64 compat_s64; |
36 | typedef u32 compat_uint_t; | ||
37 | typedef u32 compat_ulong_t; | ||
38 | typedef u64 compat_u64; | 25 | typedef u64 compat_u64; |
39 | typedef u32 compat_uptr_t; | ||
40 | |||
41 | struct compat_stat { | 26 | struct compat_stat { |
42 | compat_dev_t st_dev; | 27 | compat_dev_t st_dev; |
43 | compat_ino_t st_ino; | 28 | compat_ino_t st_ino; |
@@ -47,11 +32,11 @@ struct compat_stat { | |||
47 | __compat_gid_t st_gid; | 32 | __compat_gid_t st_gid; |
48 | compat_dev_t st_rdev; | 33 | compat_dev_t st_rdev; |
49 | compat_off_t st_size; | 34 | compat_off_t st_size; |
50 | compat_time_t st_atime; | 35 | old_time32_t st_atime; |
51 | compat_ulong_t st_atime_nsec; | 36 | compat_ulong_t st_atime_nsec; |
52 | compat_time_t st_mtime; | 37 | old_time32_t st_mtime; |
53 | compat_ulong_t st_mtime_nsec; | 38 | compat_ulong_t st_mtime_nsec; |
54 | compat_time_t st_ctime; | 39 | old_time32_t st_ctime; |
55 | compat_ulong_t st_ctime_nsec; | 40 | compat_ulong_t st_ctime_nsec; |
56 | compat_off_t st_blksize; | 41 | compat_off_t st_blksize; |
57 | compat_off_t st_blocks; | 42 | compat_off_t st_blocks; |
diff --git a/arch/sparc/include/asm/unistd.h b/arch/sparc/include/asm/unistd.h index b2a6a955113e..00f87dbd0b17 100644 --- a/arch/sparc/include/asm/unistd.h +++ b/arch/sparc/include/asm/unistd.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #else | 21 | #else |
22 | #define __NR_time 231 /* Linux sparc32 */ | 22 | #define __NR_time 231 /* Linux sparc32 */ |
23 | #endif | 23 | #endif |
24 | #define __ARCH_WANT_NEW_STAT | ||
24 | #define __ARCH_WANT_OLD_READDIR | 25 | #define __ARCH_WANT_OLD_READDIR |
25 | #define __ARCH_WANT_STAT64 | 26 | #define __ARCH_WANT_STAT64 |
26 | #define __ARCH_WANT_SYS_ALARM | 27 | #define __ARCH_WANT_SYS_ALARM |
@@ -33,7 +34,6 @@ | |||
33 | #define __ARCH_WANT_SYS_SOCKETCALL | 34 | #define __ARCH_WANT_SYS_SOCKETCALL |
34 | #define __ARCH_WANT_SYS_FADVISE64 | 35 | #define __ARCH_WANT_SYS_FADVISE64 |
35 | #define __ARCH_WANT_SYS_GETPGRP | 36 | #define __ARCH_WANT_SYS_GETPGRP |
36 | #define __ARCH_WANT_SYS_LLSEEK | ||
37 | #define __ARCH_WANT_SYS_NICE | 37 | #define __ARCH_WANT_SYS_NICE |
38 | #define __ARCH_WANT_SYS_OLDUMOUNT | 38 | #define __ARCH_WANT_SYS_OLDUMOUNT |
39 | #define __ARCH_WANT_SYS_SIGPENDING | 39 | #define __ARCH_WANT_SYS_SIGPENDING |
@@ -42,6 +42,7 @@ | |||
42 | #define __ARCH_WANT_SYS_IPC | 42 | #define __ARCH_WANT_SYS_IPC |
43 | #else | 43 | #else |
44 | #define __ARCH_WANT_COMPAT_SYS_TIME | 44 | #define __ARCH_WANT_COMPAT_SYS_TIME |
45 | #define __ARCH_WANT_SYS_UTIME32 | ||
45 | #define __ARCH_WANT_COMPAT_SYS_SENDFILE | 46 | #define __ARCH_WANT_COMPAT_SYS_SENDFILE |
46 | #endif | 47 | #endif |
47 | 48 | ||