summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorDani Liberman <dliberman@habana.ai>2022-04-13 21:32:02 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-22 22:01:18 +0300
commitb0b09b7a8b7d2a015adeb0c66d41f7a28cfc40f2 (patch)
tree0dbd28887534978e445a4e564e6f0dcab7e7d844 /scripts/gcc-plugins/gcc-common.h
parent5d1a0de2c778f369970dd50f6713e95068926a8b (diff)
downloadlinux-b0b09b7a8b7d2a015adeb0c66d41f7a28cfc40f2.tar.xz
habanalabs: use get_task_pid() to take PID
find_get_pid() isn'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: Dani Liberman <dliberman@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions