File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -721,6 +721,8 @@ int arch_mem_domain_init(struct k_mem_domain *domain)
721721int arch_mem_domain_partition_add (struct k_mem_domain * domain ,
722722 uint32_t partition_id )
723723{
724+ ARG_UNUSED (partition_id );
725+
724726 /* Force resynchronization for every thread using this domain */
725727 domain -> arch .pmp_update_nr += 1 ;
726728 return 0 ;
@@ -729,6 +731,8 @@ int arch_mem_domain_partition_add(struct k_mem_domain *domain,
729731int arch_mem_domain_partition_remove (struct k_mem_domain * domain ,
730732 uint32_t partition_id )
731733{
734+ ARG_UNUSED (partition_id );
735+
732736 /* Force resynchronization for every thread using this domain */
733737 domain -> arch .pmp_update_nr += 1 ;
734738 return 0 ;
@@ -743,6 +747,8 @@ int arch_mem_domain_thread_add(struct k_thread *thread)
743747
744748int arch_mem_domain_thread_remove (struct k_thread * thread )
745749{
750+ ARG_UNUSED (thread );
751+
746752 return 0 ;
747753}
748754
You can’t perform that action at this time.
0 commit comments