]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/nolibc: add support for sys_llseek()
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Sun, 9 Feb 2025 13:25:45 +0000 (14:25 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Sun, 9 Feb 2025 15:46:50 +0000 (16:46 +0100)
commitdde5625d4d75787a59e95f4d7d6983714bfc14c7
tree4cd09ecb6c70df34785b1c0ac474d61a458bdd2e
parentc1f4a7a84037249d086a4114c0c4332a260e9091
tools/nolibc: add support for sys_llseek()

Not all architectures have the old sys_lseek(), notably riscv32.
Implement lseek() in terms of sys_llseek() in that case.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://lore.kernel.org/r/20250209-nolibc-dir-v2-1-57cc1da8558b@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/include/nolibc/sys.h