commit | 2c85ba200aa3653452d99b0e386d1367af6c8747 | [log] [tgz] |
---|---|---|
author | Sughosh Ganu <sughosh.ganu@linaro.org> | Mon Mar 03 19:02:31 2025 +0530 |
committer | Tom Rini <trini@konsulko.com> | Mon Mar 17 19:39:27 2025 -0600 |
tree | a56e594b179e8d846a56cc588d9e1a8e84bd01af | |
parent | 86b639404b9c140239dd728b7d9d606d5a8d61cb [diff] |
lmb: optimise the lmb allocation functions The actual logic to allocate a region of memory is in the _lmb_alloc_base() function. The lmb_alloc() API function calls lmb_alloc_base(), which then calls _lmb_alloc_base() to do the allocation. Instead, call the _lmb_alloc_base() directly from both the allocation API's, and move the error message to the _lmb_alloc_base(). Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>