Skip to content

Commit

Permalink
doc: memory: Fix SYS_MEM_BLOCKS_DEFINE_STATIC description
Browse files Browse the repository at this point in the history
Fix SYS_MEM_BLOCKS_DEFINE_STATIC() description.
Use a "memory blocks allocator" instead of "slab",
which is most probably was copy-pasted from
the previous "slab" chapter by mistake.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
  • Loading branch information
butok authored and nashif committed Nov 7, 2023
1 parent 237ec65 commit 95a5f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/kernel/memory_management/sys_mem_blocks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ to a 4-byte boundary:
SYS_MEM_BLOCKS_DEFINE(allocator, 64, 4, 4);
Similarly, you can define a memory slab in private scope:
Similarly, you can define a memory blocks allocator in private scope:

.. code-block:: c
Expand Down

0 comments on commit 95a5f51

Please sign in to comment.