Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234304
b: refs/heads/master
c: 017f2b2
h: refs/heads/master
v: v3
  • Loading branch information
Lai Jiangshan authored and Steven Rostedt committed Mar 11, 2011
1 parent 04a3117 commit 2af90ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 2e12978a9f7a7abd54e8eb9ce70a7718767b8b2c
refs/heads/master: 017f2b239dabb2740b91df162e004371b861f371
9 changes: 0 additions & 9 deletions trunk/kernel/futex.c
Original file line number Diff line number Diff line change
Expand Up @@ -1089,9 +1089,6 @@ void requeue_futex(struct futex_q *q, struct futex_hash_bucket *hb1,
plist_del(&q->list, &hb1->chain);
plist_add(&q->list, &hb2->chain);
q->lock_ptr = &hb2->lock;
#ifdef CONFIG_DEBUG_PI_LIST
q->list.plist.spinlock = &hb2->lock;
#endif
}
get_futex_key_refs(key2);
q->key = *key2;
Expand Down Expand Up @@ -1124,9 +1121,6 @@ void requeue_pi_wake_futex(struct futex_q *q, union futex_key *key,
q->rt_waiter = NULL;

q->lock_ptr = &hb->lock;
#ifdef CONFIG_DEBUG_PI_LIST
q->list.plist.spinlock = &hb->lock;
#endif

wake_up_state(q->task, TASK_NORMAL);
}
Expand Down Expand Up @@ -1474,9 +1468,6 @@ static inline void queue_me(struct futex_q *q, struct futex_hash_bucket *hb)
prio = min(current->normal_prio, MAX_RT_PRIO);

plist_node_init(&q->list, prio);
#ifdef CONFIG_DEBUG_PI_LIST
q->list.plist.spinlock = &hb->lock;
#endif
plist_add(&q->list, &hb->chain);
q->task = current;
spin_unlock(&hb->lock);
Expand Down

0 comments on commit 2af90ae

Please sign in to comment.