Skip to content

Commit

Permalink
llext: add a comment where buildin functions are exported
Browse files Browse the repository at this point in the history
src/math/numbers.c has a list of functions, exported for use by LLEXT
modules. Add a comment to clarify that.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
  • Loading branch information
lyakh authored and kv2019i committed Feb 26, 2025
1 parent 8aa90d6 commit aafdc21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/math/numbers.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ uint32_t crc32(uint32_t base, const void *data, uint32_t bytes)
return ~crc;
}

/* Below we export compiler builtin functions to be used by LLEXT modules */
#if !CONFIG_64BIT
uint64_t __udivdi3(uint64_t a, uint64_t b);
EXPORT_SYMBOL(__udivdi3);
Expand Down

0 comments on commit aafdc21

Please sign in to comment.