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
ams
Kconfig -rw-r--r-- 9.3 KB
Makefile -rw-r--r-- 2.3 KB
adb-iop.c -rw-r--r-- 6.3 KB
adb.c -rw-r--r-- 19.9 KB
adbhid.c -rw-r--r-- 34.3 KB
ans-lcd.c -rw-r--r-- 4.0 KB
ans-lcd.h -rw-r--r-- 245 bytes
apm_emu.c -rw-r--r-- 2.7 KB
mac_hid.c -rw-r--r-- 6.1 KB
macio-adb.c -rw-r--r-- 6.5 KB
macio_asic.c -rw-r--r-- 20.2 KB
macio_sysfs.c -rw-r--r-- 1.8 KB
mediabay.c -rw-r--r-- 18.7 KB
rack-meter.c -rw-r--r-- 15.4 KB
smu.c -rw-r--r-- 30.5 KB
therm_adt746x.c -rw-r--r-- 16.3 KB
therm_windtunnel.c -rw-r--r-- 12.4 KB
via-cuda.c -rw-r--r-- 19.3 KB
via-macii.c -rw-r--r-- 13.6 KB
via-pmu-backlight.c -rw-r--r-- 4.5 KB
via-pmu-event.c -rw-r--r-- 2.1 KB
via-pmu-event.h -rw-r--r-- 216 bytes
via-pmu-led.c -rw-r--r-- 3.1 KB
via-pmu.c -rw-r--r-- 63.6 KB
windfarm.h -rw-r--r-- 4.1 KB
windfarm_ad7417_sensor.c -rw-r--r-- 7.6 KB
windfarm_core.c -rw-r--r-- 10.3 KB
windfarm_cpufreq_clamp.c -rw-r--r-- 2.6 KB
windfarm_fcu_controls.c -rw-r--r-- 14.0 KB
windfarm_lm75_sensor.c -rw-r--r-- 4.0 KB
windfarm_lm87_sensor.c -rw-r--r-- 4.0 KB
windfarm_max6690_sensor.c -rw-r--r-- 3.1 KB
windfarm_mpu.h -rw-r--r-- 3.7 KB
windfarm_pid.c -rw-r--r-- 3.7 KB
windfarm_pid.h -rw-r--r-- 2.7 KB
windfarm_pm112.c -rw-r--r-- 18.0 KB
windfarm_pm121.c -rw-r--r-- 25.0 KB
windfarm_pm72.c -rw-r--r-- 20.4 KB
windfarm_pm81.c -rw-r--r-- 21.2 KB
windfarm_pm91.c -rw-r--r-- 18.0 KB
windfarm_rm31.c -rw-r--r-- 17.6 KB
windfarm_smu_controls.c -rw-r--r-- 8.0 KB
windfarm_smu_sat.c -rw-r--r-- 8.1 KB
windfarm_smu_sensors.c -rw-r--r-- 11.3 KB

back to top