提交 176195e7 编写于 作者: M Michal Simek

microblaze: Use predefined SYSCALL_DEFINE macro

Use standard syscall definition.
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
上级 db2a7df0
......@@ -33,9 +33,9 @@
#include <linux/slab.h>
#include <asm/syscalls.h>
asmlinkage long sys_mmap(unsigned long addr, unsigned long len,
unsigned long prot, unsigned long flags,
unsigned long fd, off_t pgoff)
SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len,
unsigned long, prot, unsigned long, flags, unsigned long, fd,
off_t, pgoff)
{
if (pgoff & ~PAGE_MASK)
return -EINVAL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册