commit | 8f53dc724a83a0082184fa27df80c25c7df47340 | [log] [tgz] |
---|---|---|
author | Hiroshi DOYU <hdoyu@nvidia.com> | Wed Jun 27 12:54:01 2012 +0300 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Mon Jul 02 11:56:44 2012 +0200 |
tree | ae15ec7282706da6947bd97d87354d7dbe58b6b0 | |
parent | ac1534a55d1e87d59a21c09c570605933b551480 [diff] |
iommu/tegra: smmu: Fix unsleepable memory allocation allo_pdir() is called in smmu_iommu_domain_init() with spin_lock held. memory allocations in it have to be atomic/unsleepable. Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Reported-by: Chris Wright <chrisw@sous-sol.org> Acked-by: Chris Wright <chrisw@sous-sol.org> Cc: stable@vger.kernel.org Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>