Skip to content

Conversation

@pkarashchenko
Copy link
Contributor

@pkarashchenko pkarashchenko commented Jun 15, 2022

Summary

Library memory allocation interface should not depend on BUILD_FLAT option because in case of BUILD_FLAT the kmm_ and kumm_ are anyway redirected to the same allocation function calls

Impact

None. Just clean-up the code

Testing

Pass CI

…ion interface

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
@acassis
Copy link
Contributor

acassis commented Jun 15, 2022

@pkarashchenko the dependency was IF NOT CONFIG_BUILD_FLAT see:

#if !defined(CONFIG_BUILD_FLAT) ...

Or maybe I'm missing some detail that you saw, please let me know :-)

@pkarashchenko
Copy link
Contributor Author

The kmm_ and kumm_ can be used for FLAT_BUILD as they are mapped to malloc/free/etc. in other header file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants