diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2025-12-20 14:55:51 +0100 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-01-04 10:29:02 +0100 |
| commit | 47c17d97681d9c5d080acfdb273fa0856c930e74 (patch) | |
| tree | 9e5e9fd98bb97d1e2138781a8ef1a3da93c2667a /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 7efd15d22a9b7e62d0659471bde25c35ef50c9e5 (diff) | |
tools/nolibc/select: avoid libgcc 64-bit multiplications
timeval::tv_usec is going to be 64-bit wide even on 32-bit
architectures. As not all architectures support 64-bit multiplications
instructions, calls to libgcc (__multi3()) may be emitted by the
compiler which are not provided by nolibc.
As tv_usec and tv_nsec are guaranteed to always fit into an uint32_t,
perform a 32-bit multiplication instead.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20251220-nolibc-uapi-types-v3-7-c662992f75d7@weissschuh.net
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
