Commit 176195e7 authored by Michal Simek's avatar Michal Simek

microblaze: Use predefined SYSCALL_DEFINE macro

Use standard syscall definition.
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment