Commit 0ac676fb authored by Jason Baron's avatar Jason Baron Committed by Frederic Weisbecker
Browse files

tracing: Convert x86_64 mmap and uname to use DEFINE_SYSCALL

A number of syscalls are not using 'DEFINE_SYSCALL'. I'm not sure why.
Convert x86_64 uname and mmap to use DEFINE_SYSCALL.
Signed-off-by: default avatarJason Baron <>
Cc: Lai Jiangshan <>
Cc: Steven Rostedt <>
Cc: Peter Zijlstra <>
Cc: Mathieu Desnoyers <>
Cc: Jiaying Zhang <>
Cc: Martin Bligh <>
Cc: Li Zefan <>
Cc: Masami Hiramatsu <>
Signed-off-by: default avatarFrederic Weisbecker <>
parent 48c2e17f
......@@ -18,9 +18,9 @@
#include <asm/ia32.h>
#include <asm/syscalls.h>
asmlinkage long sys_mmap(unsigned long addr, unsigned long len,
unsigned long prot, unsigned long flags,
unsigned long fd, unsigned long off)
SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len,
unsigned long, prot, unsigned long, flags,
unsigned long, fd, unsigned long, off)
long error;
struct file *file;
......@@ -226,7 +226,7 @@ arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0,
asmlinkage long sys_uname(struct new_utsname __user *name)
SYSCALL_DEFINE1(uname, struct new_utsname __user *, name)
int err;
Supports Markdown
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