iommu-arm-smmu-handle-pgtable_page_ctor-fail.patch removed from -mm tree
Subject: [merged] iommu-arm-smmu-handle-pgtable_page_ctor-fail.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 15 Nov 2013 12:08:44 -0800
The patch titled
Subject: iommu/arm-smmu: handle pgtable_page_ctor() fail
has been removed from the -mm tree. Its filename was
iommu-arm-smmu-handle-pgtable_page_ctor-fail.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: "Kirill A. Shutemov" <[email protected]>
Subject: iommu/arm-smmu: handle pgtable_page_ctor() fail
---
drivers/iommu/arm-smmu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/iommu/arm-smmu.c renamed from drivers/iommu/arm-smmu.c~iommu-arm-smmu-handle-pgtable_page_ctor-fail +4 -1
@@ -1212,7 +1212,10 @@ static int arm_smmu_alloc_init_pte(strucarm_smmu_flush_pgtable (smmu,page_address (table),ARM_SMMU_PTE_HWTABLE_SIZE ); -pgtable_page_ctor (table); +if (!pgtable_page_ctor (table)) { +__free_page (table); +return -ENOMEM ; + }pmd_populate (NULL , pmd, table);arm_smmu_flush_pgtable (smmu, pmd,sizeof (*pmd)); }
_
Patches currently in -mm which might be from [email protected] are
origin.patch x86-mm-get-aslr-work-for-hugetlb-mappings.patch mm-drop-actor-argument-of-do_generic_file_read-fix.patch