patch-2.1.4 linux/mm/mlock.c

Next file: linux/mm/mmap.c
Previous file: linux/mm/memory.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.3/linux/mm/mlock.c linux/mm/mlock.c
@@ -126,7 +126,8 @@
 
 		if (newflags & VM_LOCKED)
 			while (start < end) {
-				char c = get_user((char *) start);
+				char c;
+				get_user(c,(char *) start);
 				__asm__ __volatile__("": :"r" (c));
 				start += PAGE_SIZE;
 			}

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]