Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212128
b: refs/heads/master
c: 15e408c
h: refs/heads/master
v: v3
  • Loading branch information
Namhyung Kim authored and Thomas Gleixner committed Sep 18, 2010
1 parent 97853a8 commit fd125fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a3c74c52570c0c4ac90c9a0216de800c39089ba7
refs/heads/master: 15e408cd6ccc3f4f453d87ccd5bc7a84d59feb96
4 changes: 4 additions & 0 deletions trunk/kernel/futex.c
Original file line number Diff line number Diff line change
Expand Up @@ -1360,6 +1360,7 @@ static int futex_requeue(u32 __user *uaddr1, int fshared, u32 __user *uaddr2,

/* The key must be already stored in q->key. */
static inline struct futex_hash_bucket *queue_lock(struct futex_q *q)
__acquires(&hb->lock)
{
struct futex_hash_bucket *hb;

Expand All @@ -1373,6 +1374,7 @@ static inline struct futex_hash_bucket *queue_lock(struct futex_q *q)

static inline void
queue_unlock(struct futex_q *q, struct futex_hash_bucket *hb)
__releases(&hb->lock)
{
spin_unlock(&hb->lock);
drop_futex_key_refs(&q->key);
Expand All @@ -1391,6 +1393,7 @@ queue_unlock(struct futex_q *q, struct futex_hash_bucket *hb)
* an example).
*/
static inline void queue_me(struct futex_q *q, struct futex_hash_bucket *hb)
__releases(&hb->lock)
{
int prio;

Expand Down Expand Up @@ -1471,6 +1474,7 @@ static int unqueue_me(struct futex_q *q)
* and dropped here.
*/
static void unqueue_me_pi(struct futex_q *q)
__releases(q->lock_ptr)
{
WARN_ON(plist_node_empty(&q->list));
plist_del(&q->list, &q->list.plist);
Expand Down

0 comments on commit fd125fe

Please sign in to comment.