kernel: mem_domain: update name/doc of API function for partition add
Update the name of mem-domain API function to add a partition so that it complies with the 'z_' prefix convention. Correct the function documentation. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
53f0f277b0
commit
873dd10ea4
5 changed files with 8 additions and 8 deletions
|
@ -181,11 +181,11 @@ void k_mem_domain_add_partition(struct k_mem_domain *domain,
|
|||
|
||||
domain->num_partitions++;
|
||||
|
||||
/* Handle architecture-specific remove
|
||||
/* Handle architecture-specific add
|
||||
* only if it is the current thread.
|
||||
*/
|
||||
if (_current->mem_domain_info.mem_domain == domain) {
|
||||
_arch_mem_domain_partition_add(domain, p_idx);
|
||||
z_arch_mem_domain_partition_add(domain, p_idx);
|
||||
}
|
||||
|
||||
k_spin_unlock(&lock, key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue