tools/nolibc: unistd.h: apply __sysret() helper
authorZhangjin Wu <falcon@tinylab.org>
Wed, 28 Jun 2023 13:11:44 +0000 (21:11 +0800)
committerWilly Tarreau <w@1wt.eu>
Sun, 6 Aug 2023 10:27:53 +0000 (12:27 +0200)
commitc8d54fa37c5390cfbb63f63900a2466469eafb3a
treef073c565132fce8eed746a8627e04e120d509e0e
parent428905da6ec4a02d08dfcc09013035594f666a31
tools/nolibc: unistd.h: apply __sysret() helper

Use __sysret() to shrink the whole _syscall() to oneline code.

Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Zhangjin Wu <falcon@tinylab.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
tools/include/nolibc/unistd.h