]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
um: Mark 32bit syscall helpers as clobbering memory
authorBenjamin Berg <benjamin@sipsolutions.net>
Fri, 10 Nov 2023 11:03:48 +0000 (12:03 +0100)
committerRichard Weinberger <richard@nod.at>
Fri, 5 Jan 2024 15:28:57 +0000 (16:28 +0100)
commit83aec96c631e0fa75cfe6d6a1b113a32151aaa88
treea76210f8f0a6c17459101213b00913ff75362f0f
parent1e41c415e21ff03ddf5c3725b608d0e4f0c239e3
um: Mark 32bit syscall helpers as clobbering memory

The 64bit helper are marked to clobber the memory, but the 32bit ones
are not. Add the appropriate clobber to the 32bit helper routines so
that the compiler cannot do invalid optimizations.

Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/x86/um/shared/sysdep/stub_32.h