Commit 5f633f0c authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] remap_file_pages: fix syscall declaration

Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>

sys_remap_file_pages is declared as asmlinkage in mm/fremap.c, but is the one
syscall declared without asmlinkage in include/linux/syscalls.h.
parent 2c60fda2
......@@ -256,7 +256,7 @@ asmlinkage long sys_mprotect(unsigned long start, size_t len,
asmlinkage unsigned long sys_mremap(unsigned long addr,
unsigned long old_len, unsigned long new_len,
unsigned long flags, unsigned long new_addr);
long sys_remap_file_pages(unsigned long start, unsigned long size,
asmlinkage long sys_remap_file_pages(unsigned long start, unsigned long size,
unsigned long prot, unsigned long pgoff,
unsigned long flags);
asmlinkage long sys_msync(unsigned long start, size_t len, int flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment