X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=mm%2Fmremap.c;h=a39b7b91be46722789a0ce95ed5382405796077c;hb=1144d6535fdea5133875dab4a0be5515ae5cb681;hp=58a2908f42f500002e49adc218adbca0e8602c26;hpb=9649745c8670eacc671e9cff72c5c1e346e13036;p=firefly-linux-kernel-4.4.55.git diff --git a/mm/mremap.c b/mm/mremap.c index 58a2908f42f5..a39b7b91be46 100644 --- a/mm/mremap.c +++ b/mm/mremap.c @@ -3,7 +3,7 @@ * * (C) Copyright 1996 Linus Torvalds * - * Address space accounting code + * Address space accounting code * (C) Copyright 2002 Red Hat Inc, All Rights Reserved */ @@ -420,9 +420,9 @@ out_nc: return ret; } -asmlinkage unsigned long sys_mremap(unsigned long addr, - unsigned long old_len, unsigned long new_len, - unsigned long flags, unsigned long new_addr) +SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len, + unsigned long, new_len, unsigned long, flags, + unsigned long, new_addr) { unsigned long ret;