projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db2a7df
)
microblaze: Use predefined SYSCALL_DEFINE macro
author
Michal Simek
<michal.simek@xilinx.com>
Mon, 16 Sep 2013 05:45:29 +0000
(07:45 +0200)
committer
Michal Simek
<michal.simek@xilinx.com>
Fri, 8 Nov 2013 14:20:39 +0000
(15:20 +0100)
Use standard syscall definition.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/kernel/sys_microblaze.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/sys_microblaze.c
b/arch/microblaze/kernel/sys_microblaze.c
index f905b3ae68c79ec2bb3e7e52c282cedd38a21172..e80a6c02ac31d99ed6f8681cbcc98a449320587d 100644
(file)
--- a/
arch/microblaze/kernel/sys_microblaze.c
+++ b/
arch/microblaze/kernel/sys_microblaze.c
@@
-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;