Skip to content

Commit

Permalink
lp64: fix undefined reference compilation breakage
Browse files Browse the repository at this point in the history
__udivdi3 isn't defined on LP64, don't export it.

Fixes: a306792 ("llext: add missing symbol exports")
Signed-off-by: Guennadi Liakhovetski <[email protected]>
  • Loading branch information
lyakh committed May 16, 2024
1 parent fdb67ee commit 80b8e6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/math/numbers.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,5 +176,7 @@ uint32_t crc32(uint32_t base, const void *data, uint32_t bytes)
return ~crc;
}

#if !CONFIG_SOC_MIMX9352_A55
uint64_t __udivdi3(uint64_t a, uint64_t b);
EXPORT_SYMBOL(__udivdi3);
#endif

0 comments on commit 80b8e6a

Please sign in to comment.