In according with other functions, remove the const qualifier of the 
no-pointer parameters in function arch_get_unmapped_area_topdown().

Signed-off-by: Yang Fan <[email protected]>
---
 mm/mmap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/mmap.c b/mm/mmap.c
index f2d163ac827a..84cdde125d4d 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -2127,8 +2127,8 @@ arch_get_unmapped_area(struct file *filp, unsigned long 
addr,
 #ifndef HAVE_ARCH_UNMAPPED_AREA_TOPDOWN
 unsigned long
 arch_get_unmapped_area_topdown(struct file *filp, unsigned long addr,
-                         const unsigned long len, const unsigned long pgoff,
-                         const unsigned long flags)
+                         unsigned long len, unsigned long pgoff,
+                         unsigned long flags)
 {
        struct vm_area_struct *vma, *prev;
        struct mm_struct *mm = current->mm;
-- 
2.17.1

Reply via email to