diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-09-16 01:45:29 -0400 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-11-08 09:20:39 -0500 |
commit | 176195e757df0044623b2086527ad5b5cfde9488 (patch) | |
tree | 330bd51e06d61c47728eeebe5b9b0df6091f775a /arch/microblaze | |
parent | db2a7df0343a0fb166d369e58bcfe605162dc857 (diff) |
microblaze: Use predefined SYSCALL_DEFINE macro
Use standard syscall definition.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/kernel/sys_microblaze.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ | |||
33 | #include <linux/slab.h> | 33 | #include <linux/slab.h> |
34 | #include <asm/syscalls.h> | 34 | #include <asm/syscalls.h> |
35 | 35 | ||
36 | asmlinkage long sys_mmap(unsigned long addr, unsigned long len, | 36 | SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len, |
37 | unsigned long prot, unsigned long flags, | 37 | unsigned long, prot, unsigned long, flags, unsigned long, fd, |
38 | unsigned long fd, off_t pgoff) | 38 | off_t, pgoff) |
39 | { | 39 | { |
40 | if (pgoff & ~PAGE_MASK) | 40 | if (pgoff & ~PAGE_MASK) |
41 | return -EINVAL; | 41 | return -EINVAL; |