[PATCH 2/3] fremap: convert vm_flags to unsigned long long

From: KOSAKI Motohiro
Date: Tue Apr 12 2011 - 20:29:56 EST


Anyway, unsigned int is completely wrong type.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
---
mm/fremap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/fremap.c b/mm/fremap.c
index ec520c7..354031e 100644
--- a/mm/fremap.c
+++ b/mm/fremap.c
@@ -224,7 +224,7 @@ SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
/*
* drop PG_Mlocked flag for over-mapped range
*/
- unsigned int saved_flags = vma->vm_flags;
+ unsigned long long saved_flags = vma->vm_flags;
munlock_vma_pages_range(vma, start, start + size);
vma->vm_flags = saved_flags;
}
--
1.7.3.1



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/