commit | e0329a55257ae0a9362410d31e39bce760622abb | [log] [tgz] |
---|---|---|
author | Jim Shu <cwshu@andestech.com> | Wed Nov 24 16:43:13 2021 +0800 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Jan 11 11:47:03 2022 +0100 |
tree | 60d138e02b3941c926177a021d8cc51f2d0fda5a | |
parent | fd1e5aebc0ba2af09502ecb2c9f756378c86bc8e [diff] |
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: Jim Shu <cwshu@andestech.com>