From: Mark Huang <mlhuang@cs.princeton.edu> Date: Tue, 4 Jan 2005 18:46:08 +0000 (+0000) Subject: - fix do_mprotect() prototype X-Git-Tag: before-shares_write_debug-merge~16 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=de884395301166e4b1ce83e4623cfe1d89d04470;p=linux-2.6.git - fix do_mprotect() prototype --- diff --git a/include/linux/mm.h b/include/linux/mm.h index 3fb18934a..83c64bb32 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -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); /*