- fix do_mprotect() prototype
authorMark Huang <mlhuang@cs.princeton.edu>
Tue, 4 Jan 2005 18:46:08 +0000 (18:46 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Tue, 4 Jan 2005 18:46:08 +0000 (18:46 +0000)
include/linux/mm.h

index 3fb1893..83c64bb 100644 (file)
@@ -581,7 +581,7 @@ int clear_page_dirty_for_io(struct page *page);
  */
 typedef int (*shrinker_t)(int nr_to_scan, unsigned int gfp_mask);
 
-extern long do_mprotect(struct mm_struct *mm, unsigned long start, 
+asmlinkage long do_mprotect(struct mm_struct *mm, unsigned long start, 
                        size_t len, unsigned long prot);
 
 /*