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
Kconfig -rw-r--r-- 6.6 KB
Makefile -rw-r--r-- 1.2 KB
da8xx_remoteproc.c -rw-r--r-- 10.1 KB
imx_rproc.c -rw-r--r-- 10.4 KB
keystone_remoteproc.c -rw-r--r-- 13.8 KB
omap_remoteproc.c -rw-r--r-- 5.9 KB
omap_remoteproc.h -rw-r--r-- 2.8 KB
qcom_common.c -rw-r--r-- 6.4 KB
qcom_common.h -rw-r--r-- 1.6 KB
qcom_q6v5.c -rw-r--r-- 6.7 KB
qcom_q6v5.h -rw-r--r-- 941 bytes
qcom_q6v5_adsp.c -rw-r--r-- 12.7 KB
qcom_q6v5_mss.c -rw-r--r-- 40.1 KB
qcom_q6v5_pas.c -rw-r--r-- 9.3 KB
qcom_q6v5_wcss.c -rw-r--r-- 14.3 KB
qcom_sysmon.c -rw-r--r-- 15.1 KB
qcom_wcnss.c -rw-r--r-- 14.2 KB
qcom_wcnss.h -rw-r--r-- 504 bytes
qcom_wcnss_iris.c -rw-r--r-- 4.1 KB
remoteproc_core.c -rw-r--r-- 58.3 KB
remoteproc_debugfs.c -rw-r--r-- 10.9 KB
remoteproc_elf_loader.c -rw-r--r-- 8.9 KB
remoteproc_internal.h -rw-r--r-- 3.3 KB
remoteproc_sysfs.c -rw-r--r-- 3.5 KB
remoteproc_virtio.c -rw-r--r-- 10.7 KB
st_remoteproc.c -rw-r--r-- 11.4 KB
st_slim_rproc.c -rw-r--r-- 8.3 KB
stm32_rproc.c -rw-r--r-- 14.6 KB
wkup_m3_rproc.c -rw-r--r-- 6.0 KB

back to top