kernel/binary_manager: Remove unlocking non-preemption lock in fault handler
up_unblock_task_without_savereg function adds tcb to ready-to-run list without checking non-preemption lock.
So it doesn't need to unlock non-preemption in fault handler.
@@ -204,7 +204,6 @@ void binary_manager_recover_userfault(uint32_t assert_pc)
tcb = this_task();
if (tcb != NULL && tcb->group != NULL) {
- tcb->lockcount = 0;
bin_idx = tcb->group->tg_binidx;
/* Exclude realtime task/pthreads from scheduling */
binary_manager_deactivate_rtthreads(bin_idx);
