Felix Kuehling 11b29c9e25 drm/amdkfd: Fix incorrect use of process->mm
This mm_struct pointer should never be dereferenced. If running in
a user thread, just use current->mm. If running in a kernel worker
use get_task_mm to get a safe reference to the mm_struct.

Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-10-04 11:37:25 -04:00
..
2018-09-07 10:05:20 +02:00
2018-09-21 09:41:05 +02:00
2018-09-29 14:52:14 -07:00
2018-08-08 15:44:47 +10:00
2018-09-27 21:53:55 +02:00
2018-08-16 12:26:24 -07:00
2018-09-29 14:52:14 -07:00
2018-09-27 21:53:55 +02:00
2018-09-14 13:03:17 -10:00
2018-09-28 18:20:41 +02:00
2018-07-30 10:04:58 +02:00
2018-08-18 11:04:51 -07:00
2018-08-20 11:36:07 +02:00
2018-08-25 14:12:36 -07:00
2018-08-20 16:30:27 -07:00
2018-09-13 16:22:24 -10:00
2018-08-23 14:02:22 -07:00
2018-09-28 18:04:06 -07:00
2018-09-24 15:16:41 +02:00
2018-08-23 13:52:46 -07:00
2018-08-19 09:30:44 -07:00
2018-08-17 11:32:50 -07:00
2018-08-23 15:44:58 -07:00
2018-08-24 08:45:19 -07:00
2018-08-18 11:04:51 -07:00