From de884395301166e4b1ce83e4623cfe1d89d04470 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Tue, 4 Jan 2005 18:46:08 +0000 Subject: [PATCH] - fix do_mprotect() prototype --- include/linux/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); /* -- 2.47.0