mbox series

[0/2] linux-user/syscall.c remove explicit mentions of LFS

Message ID 20240829075242.511534-1-mjt@tls.msk.ru (mailing list archive)
Headers show
Series linux-user/syscall.c remove explicit mentions of LFS | expand

Message

Michael Tokarev Aug. 29, 2024, 7:52 a.m. UTC
Qemu is always built with -D_FILE_OFFSET_BITS=64, so there's no need to
use 64bit variants of file functions explicitly, since regular variants
of all functions and structs are 64bit automatically.

Michael Tokarev (2):
  linux-user/syscall.c: drop 64 suffix from flock64 &Co
  linux-user/syscall.c: eliminate other explicit LFS usages

 linux-user/syscall.c | 78 +++++++++++++++++++++-----------------------
 1 file changed, 38 insertions(+), 40 deletions(-)

Comments

Richard Henderson Aug. 29, 2024, 9:15 a.m. UTC | #1
On 8/29/24 17:52, Michael Tokarev wrote:
> Michael Tokarev (2):
>    linux-user/syscall.c: drop 64 suffix from flock64 &Co
>    linux-user/syscall.c: eliminate other explicit LFS usages

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~