Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356651
b: refs/heads/master
c: 90caf58
h: refs/heads/master
i:
  356649: 68c1a4e
  356647: 07ad6aa
v: v3
  • Loading branch information
Al Viro committed Feb 3, 2013
1 parent 5450ab5 commit 13e9a90
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f482e1b4a4abf926507a4c1c6317acd3e7aa61b7
refs/heads/master: 90caf58dad77a4021e9dade5d051756cea2a2cd7
19 changes: 10 additions & 9 deletions trunk/kernel/futex_compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <linux/nsproxy.h>
#include <linux/futex.h>
#include <linux/ptrace.h>
#include <linux/syscalls.h>

#include <asm/uaccess.h>

Expand Down Expand Up @@ -116,9 +117,9 @@ void compat_exit_robust_list(struct task_struct *curr)
}
}

asmlinkage long
compat_sys_set_robust_list(struct compat_robust_list_head __user *head,
compat_size_t len)
COMPAT_SYSCALL_DEFINE2(set_robust_list,
struct compat_robust_list_head __user *, head,
compat_size_t, len)
{
if (!futex_cmpxchg_enabled)
return -ENOSYS;
Expand All @@ -131,9 +132,9 @@ compat_sys_set_robust_list(struct compat_robust_list_head __user *head,
return 0;
}

asmlinkage long
compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr,
compat_size_t __user *len_ptr)
COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid,
compat_uptr_t __user *, head_ptr,
compat_size_t __user *, len_ptr)
{
struct compat_robust_list_head __user *head;
unsigned long ret;
Expand Down Expand Up @@ -172,9 +173,9 @@ compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr,
return ret;
}

asmlinkage long compat_sys_futex(u32 __user *uaddr, int op, u32 val,
struct compat_timespec __user *utime, u32 __user *uaddr2,
u32 val3)
COMPAT_SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val,
struct compat_timespec __user *, utime, u32 __user *, uaddr2,
u32, val3)
{
struct timespec ts;
ktime_t t, *tp = NULL;
Expand Down

0 comments on commit 13e9a90

Please sign in to comment.