diff mbox series

[v1,1/5] mm: make variable names for populate_vma_page_range() consistent

Message ID 20210317110644.25343-2-david@redhat.com (mailing list archive)
State New, archived
Headers show
Series mm/madvise: introduce MADV_POPULATE_(READ|WRITE) to prefault/prealloc memory | expand

Commit Message

David Hildenbrand March 17, 2021, 11:06 a.m. UTC
Let's make the variable names in the function declaration match the
variable names used in the definition.

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Peter Xu <peterx@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
---
 mm/internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/mm/internal.h b/mm/internal.h
index 1432feec62df..3f22c4ceb7b5 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -334,7 +334,7 @@  void __vma_unlink_list(struct mm_struct *mm, struct vm_area_struct *vma);
 
 #ifdef CONFIG_MMU
 extern long populate_vma_page_range(struct vm_area_struct *vma,
-		unsigned long start, unsigned long end, int *nonblocking);
+		unsigned long start, unsigned long end, int *locked);
 extern void munlock_vma_pages_range(struct vm_area_struct *vma,
 			unsigned long start, unsigned long end);
 static inline void munlock_vma_pages_all(struct vm_area_struct *vma)