Skip to contentSkip to conversation

mm-nommu-kill-arch_get_unmapped_area.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 11, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm: nommu: kill arch_get_unmapped_area()
has been removed from the -mm tree. Its filename was
mm-nommu-kill-arch_get_unmapped_area.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Kefeng Wang <[email protected]>
Subject: mm: nommu: kill arch_get_unmapped_area()

When nommu, the arch_get_unmapped_area() will not be called, just kill it.

---

 mm/nommu.c |    6 ------
 1 file changed, 6 deletions(-)
mm/nommu.c renamed from mm/nommu.c~mm-nommu-kill-arch_get_unmapped_area +0 -6
@@ -1639,12 +1639,6 @@ int remap_vmalloc_range(struct vm_area_s
 }
 EXPORT_SYMBOL(remap_vmalloc_range);
 
-unsigned long arch_get_unmapped_area(struct file *file, unsigned long addr,
-	unsigned long len, unsigned long pgoff, unsigned long flags)
-{
-	return -ENOMEM;
-}
-
 vm_fault_t filemap_fault(struct vm_fault *vmf)
 {
 	BUG();

_

Patches currently in -mm which might be from [email protected] are