kernel: rename WouldBlock syscall result

This reflects the new naming convention, which is clearer.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2021-08-16 12:25:39 +08:00
parent afdf8531aa
commit c59cdfbd51

View file

@ -40,7 +40,7 @@ fn retry_syscall(pid: PID, tid: TID) -> SysCallResult {
arch::process::Process::with_current_mut(|p| p.retry_instruction(tid))?;
do_yield(pid, tid)
} else {
Ok(xous_kernel::Result::WouldBlock)
Ok(xous_kernel::Result::RetryCall)
}
}