iommu/tegra: smmu: Fix unsleepable memory allocation
authorHiroshi DOYU <hdoyu@nvidia.com>
Wed, 27 Jun 2012 09:54:01 +0000 (12:54 +0300)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 2 Jul 2012 09:56:44 +0000 (11:56 +0200)
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>

No differences found