Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167790
b: refs/heads/master
c: 2bc8720
h: refs/heads/master
v: v3
  • Loading branch information
Darren Hart authored and Thomas Gleixner committed Oct 14, 2009
1 parent 07a8403 commit 27c4d53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: d58e6576b0deec6f0b9ff8450fe282da18c50883
refs/heads/master: 2bc872036e1c5948b5b02942810bbdd8dbdb9812
3 changes: 2 additions & 1 deletion trunk/kernel/futex.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ static struct futex_hash_bucket *hash_futex(union futex_key *key)
*/
static inline int match_futex(union futex_key *key1, union futex_key *key2)
{
return (key1->both.word == key2->both.word
return (key1 && key2
&& key1->both.word == key2->both.word
&& key1->both.ptr == key2->both.ptr
&& key1->both.offset == key2->both.offset);
}
Expand Down

0 comments on commit 27c4d53

Please sign in to comment.