misc: tegra-profiler: rd_alloc
quadd_unwind_start calls rd_alloc while holding a spinlock.
This is dangerous because rd_alloc allocates memory with
the GFP_KERNEL flag. This fix simply moves rd_alloc outside
the critical section.
Bug
1529894
Change-Id: I284e72d2fdd9089428d75f3c3efb79513a897b7e
Signed-off-by: Shu Zhong <shuz@nvidia.com>
Reviewed-on: http://git-master/r/433264
(cherry picked from commit
e29a862f449b3f1831410162c4360041438017dc)
Reviewed-on: http://git-master/r/594134
Reviewed-on: http://git-master/r/654596
Reviewed-by: Ximing Chen <ximingc@nvidia.com>
Tested-by: Ximing Chen <ximingc@nvidia.com>