Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.1.101 /mm/mlock.c

Filename:/mm/mlock.c
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.1.100  2.1.89  2.1.45  2.1.43  2.1.23  2.1.17 
(Following) 2.1.106  2.1.108  2.1.130 

Location
[  2.1.101
  [  mm
     o  mlock.c

Patch

diff -u --recursive --new-file v2.1.100/linux/mm/mlock.c linux/mm/mlock.c
--- v2.1.100/linux/mm/mlock.c   Thu May  7 22:51:55 1998
+++ linux/mm/mlock.c   Fri May  8 00:32:31 1998
@@ -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;
          }


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.