X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fmprotect.c;h=e8346c30abecaef6c7e06d83c33922ac54883077;hb=d1496c39e500857b8949cdb91af24e0eb8aae4d0;hp=3b8f3c0c63f3b948cda9edca535d7aaa65b4a38b;hpb=95f3eff6997ae4a6754c1d874ec0a414d97c44d1;p=linux-2.6 diff --git a/mm/mprotect.c b/mm/mprotect.c index 3b8f3c0c63..e8346c30ab 100644 --- a/mm/mprotect.c +++ b/mm/mprotect.c @@ -128,7 +128,7 @@ static void change_protection(struct vm_area_struct *vma, flush_tlb_range(vma, start, end); } -static int +int mprotect_fixup(struct vm_area_struct *vma, struct vm_area_struct **pprev, unsigned long start, unsigned long end, unsigned long newflags) {