Revision bdf200731145f07a6127cb16753e2e8fdc159cf4 authored by Arnd Bergmann on 01 October 2019, 15:53:29 UTC, committed by Jens Axboe on 01 October 2019, 15:53:29 UTC
All system calls use struct __kernel_timespec instead of the old struct
timespec, but this one was just added with the old-style ABI. Change it
now to enforce the use of __kernel_timespec, avoiding ABI confusion and
the need for compat handlers on 32-bit architectures.

Any user space caller will have to use __kernel_timespec now, but this
is unambiguous and works for any C library regardless of the time_t
definition. A nicer way to specify the timeout would have been a less
ambiguous 64-bit nanosecond value, but I suppose it's too late now to
change that as this would impact both 32-bit and 64-bit users.

Fixes: 5262f567987d ("io_uring: IORING_OP_TIMEOUT support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 8556011
History
File Mode Size
fsl-mc
Kconfig -rw-r--r-- 5.9 KB
Makefile -rw-r--r-- 1.1 KB
arm-cci.c -rw-r--r-- 15.5 KB
brcmstb_gisb.c -rw-r--r-- 10.8 KB
da8xx-mstpri.c -rw-r--r-- 5.9 KB
hisi_lpc.c -rw-r--r-- 17.4 KB
imx-weim.c -rw-r--r-- 6.7 KB
mips_cdmm.c -rw-r--r-- 19.1 KB
moxtet.c -rw-r--r-- 18.6 KB
mvebu-mbus.c -rw-r--r-- 36.4 KB
omap-ocp2scp.c -rw-r--r-- 3.1 KB
omap_l3_noc.c -rw-r--r-- 10.6 KB
omap_l3_noc.h -rw-r--r-- 12.3 KB
omap_l3_smx.c -rw-r--r-- 7.1 KB
omap_l3_smx.h -rw-r--r-- 7.3 KB
qcom-ebi2.c -rw-r--r-- 10.5 KB
simple-pm-bus.c -rw-r--r-- 1.3 KB
sun50i-de2.c -rw-r--r-- 1.1 KB
sunxi-rsb.c -rw-r--r-- 19.0 KB
tegra-aconnect.c -rw-r--r-- 2.9 KB
tegra-gmi.c -rw-r--r-- 7.5 KB
ti-sysc.c -rw-r--r-- 59.8 KB
ts-nbus.c -rw-r--r-- 8.9 KB
uniphier-system-bus.c -rw-r--r-- 7.3 KB
vexpress-config.c -rw-r--r-- 4.3 KB

back to top