Skip to content
Commit e0329a55 authored by Jim Shu's avatar Jim Shu Committed by Carles Cufí
Browse files

arch: riscv: pmp: fix return value of arch_mem_domain_partition_remove()



If no thread use this memory domain, there isn't any user PMP region
translated from memory partitions in domain. In this case, memory
partition removal doesn't need to remove user PMP region and
arch_mem_domain_partition_remove() could just successfully return.

Signed-off-by: default avatarJim Shu <cwshu@andestech.com>
parent fd1e5aeb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment