Skip to content
Commit e79e745b authored by Oded Gabbay's avatar Oded Gabbay
Browse files

habanalabs: use get_task_pid() to take PID



The previous function we used, find_get_pid(), wasn't good in case
the user process was run inside docker.

As a result, we didn't had the PID and we couldn't kill the user
process in case the device got stuck and we needed to reset the
device.

Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent fbcd0efe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment