From: Michal Simek Date: Mon, 16 Sep 2013 05:45:29 +0000 (+0200) Subject: microblaze: Use predefined SYSCALL_DEFINE macro X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=176195e757df0044623b2086527ad5b5cfde9488;p=openwrt%2Fstaging%2Fblogic.git microblaze: Use predefined SYSCALL_DEFINE macro Use standard syscall definition. Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/kernel/sys_microblaze.c b/arch/microblaze/kernel/sys_microblaze.c index f905b3ae68c7..e80a6c02ac31 100644 --- a/arch/microblaze/kernel/sys_microblaze.c +++ b/arch/microblaze/kernel/sys_microblaze.c @@ -33,9 +33,9 @@ #include #include -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;