Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264812
b: refs/heads/master
c: 7cfdaf3
h: refs/heads/master
v: v3
  • Loading branch information
Vitaliy Ivanov authored and Jiri Kosina committed Sep 15, 2011
1 parent ee48532 commit c702d68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 124ff4e53ace98300bf7465e0285167a3df838d3
refs/heads/master: 7cfdaf38d4975b0266fbdef971e5ce37da7214fd
8 changes: 4 additions & 4 deletions trunk/kernel/futex.c
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ static int wake_futex_pi(u32 __user *uaddr, u32 uval, struct futex_q *this)
{
struct task_struct *new_owner;
struct futex_pi_state *pi_state = this->pi_state;
u32 curval, newval;
u32 uninitialized_var(curval), newval;

if (!pi_state)
return -EINVAL;
Expand Down Expand Up @@ -887,7 +887,7 @@ static int wake_futex_pi(u32 __user *uaddr, u32 uval, struct futex_q *this)

static int unlock_futex_pi(u32 __user *uaddr, u32 uval)
{
u32 oldval;
u32 uninitialized_var(oldval);

/*
* There is no waiter, so we unlock the futex. The owner died
Expand Down Expand Up @@ -1546,7 +1546,7 @@ static int fixup_pi_state_owner(u32 __user *uaddr, struct futex_q *q,
u32 newtid = task_pid_vnr(newowner) | FUTEX_WAITERS;
struct futex_pi_state *pi_state = q->pi_state;
struct task_struct *oldowner = pi_state->owner;
u32 uval, curval, newval;
u32 uval, uninitialized_var(curval), newval;
int ret;

/* Owner died? */
Expand Down Expand Up @@ -2451,7 +2451,7 @@ SYSCALL_DEFINE3(get_robust_list, int, pid,
*/
int handle_futex_death(u32 __user *uaddr, struct task_struct *curr, int pi)
{
u32 uval, nval, mval;
u32 uval, uninitialized_var(nval), mval;

retry:
if (get_user(uval, uaddr))
Expand Down

0 comments on commit c702d68

Please sign in to comment.