diff options
| author | Edward O'Callaghan <[email protected]> | 2016-09-17 15:01:42 +1000 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2016-09-19 20:58:35 +0300 |
| commit | ad16a469ffa1f1bbf8f31e110b4d68cee39757d2 (patch) | |
| tree | 732da2669abb45f9a1051621ef78910168d0b9ce /tools/lib/api/fs/tracing_path.c | |
| parent | 78b13f7964d97be4329e6410423a66affd7a68ad (diff) | |
drm/amdkfd: Reuse function to find a process through pasid
The kfd_lookup_process_by_pasid() is just for that purpose,
so use it instead of repeating the code.
v2: return on the condition (p == NULL) instead of BUG_ON(!p).
Signed-off-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions