]> Gentwo Git Trees - linux/.git/commit
x86/um/vdso: Fix prototype of clock_gettime()
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 13 Oct 2025 10:40:18 +0000 (12:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 27 Oct 2025 14:12:06 +0000 (15:12 +0100)
commit019cde8fc9a7a7b509fd0dd52b14599dd884bc59
tree722fd0762ddd61db5853a7eb2883f631c220d57f
parent6e3fc802ab86e5e3dbb76053717858ccd7675a9b
x86/um/vdso: Fix prototype of clock_gettime()

The clock_gettime() system call takes a pointer to
'struct __kernel_timespec', not 'struct __kernel_old_timespec'.
Right now this is not an issue as the vDSO never works with the
actual struct but only passes it through to the kernel.

Fix the prototype for consistency with the system call.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20251013-uml-vdso-cleanup-v1-1-a079c7adcc69@weissschuh.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/x86/um/vdso/um_vdso.c