projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm/gup: change index type to long as it counts pages
[linux-2.6-microblaze.git]
/
mm
/
gup.c
diff --git
a/mm/gup.c
b/mm/gup.c
index
4bc5742
..
91629b5
100644
(file)
--- a/
mm/gup.c
+++ b/
mm/gup.c
@@
-1528,7
+1528,7
@@
static long __get_user_pages_locked(struct mm_struct *mm, unsigned long start,
{
struct vm_area_struct *vma;
unsigned long vm_flags;
-
int
i;
+
long
i;
/* calculate required read or write permissions.
* If FOLL_FORCE is set, we only require the "MAY" flags.