amdkfd: use atomic allocations within srcu callbacks
authorSasha Levin <sasha.levin@oracle.com>
Wed, 3 Dec 2014 15:19:36 +0000 (10:19 -0500)
committerOded Gabbay <oded.gabbay@amd.com>
Wed, 3 Dec 2014 15:19:36 +0000 (10:19 -0500)
commitc448a142a714b4ad25ebd4c872b7c9752e428c88
tree9dff3d3d4bd3631f959bae170d7d91222d29eb58
parentaeda036c371c58d3a6dcb3e5ac3c1503e7ffc4cf
amdkfd: use atomic allocations within srcu callbacks

srcu callbacks are running in atomic context, we can't allocate using
__GFP_WAIT.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_process.c