patch-2.1.4 linux/mm/mmap.c

Next file: linux/mm/page_alloc.c
Previous file: linux/mm/mlock.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.3/linux/mm/mmap.c linux/mm/mmap.c
@@ -281,7 +281,8 @@
 		unsigned long start = addr;
 		mm->locked_vm += len >> PAGE_SHIFT;
 		do {
-			char c = get_user((char *) start);
+			char c;
+			get_user(c,(char *) start);
 			len -= PAGE_SIZE;
 			start += PAGE_SIZE;
 			__asm__ __volatile__("": :"r" (c));

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov