platform: adsp: mem: use atomic allocations
authorNitin Kumbhar <nkumbhar@nvidia.com>
Fri, 7 Nov 2014 11:44:47 +0000 (16:44 +0530)
committerNitin Kumbhar <nkumbhar@nvidia.com>
Sat, 8 Nov 2014 04:42:34 +0000 (20:42 -0800)
commit382b89c00f5357f91350ae036d280f39e1f44d10
tree6ec6db6c62919c24849a5d0cfc232e74ccea79c5
parent6ac412ef131263dc805bfe40df1ad4391e961050
platform: adsp: mem: use atomic allocations

Allocate new memory chunk atomically as allocation
is being done in a critical section.

Bug 200053776

Change-Id: I4b2070c0156053f8c195b6255c72f9aabb041c96
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/595936
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/platform/tegra/nvadsp/mem_manager.c