patch-2.1.101 linux/mm/mlock.c
Next file: linux/mm/page_alloc.c
Previous file: linux/kernel/sysctl.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri May 8 00:32:31 1998
- Orig file:
v2.1.100/linux/mm/mlock.c
- Orig date:
Thu May 7 22:51:55 1998
diff -u --recursive --new-file v2.1.100/linux/mm/mlock.c linux/mm/mlock.c
@@ -129,8 +129,8 @@
if (newflags & VM_LOCKED)
while (start < end) {
- char c;
- get_user(c,(char *) start);
+ int c;
+ get_user(c,(int *) start);
__asm__ __volatile__("": :"r" (c));
start += PAGE_SIZE;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov