Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69007
b: refs/heads/master
c: 2e45874
h: refs/heads/master
i:
  69005: 0ffe879
  69003: ee4fd2d
  68999: dcdbdcb
  68991: 1b003de
v: v3
  • Loading branch information
Matthias Kaehlcke authored and Ingo Molnar committed Oct 15, 2007
1 parent 9cfa592 commit 0a0ee01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: bb61c210835db95b0e9fb612a316422e7cc675e3
refs/heads/master: 2e45874c5aabe573b6ab4328f303c765701394f9
5 changes: 2 additions & 3 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -3634,10 +3634,9 @@ EXPORT_SYMBOL(default_wake_function);
static void __wake_up_common(wait_queue_head_t *q, unsigned int mode,
int nr_exclusive, int sync, void *key)
{
struct list_head *tmp, *next;
wait_queue_t *curr, *next;

list_for_each_safe(tmp, next, &q->task_list) {
wait_queue_t *curr = list_entry(tmp, wait_queue_t, task_list);
list_for_each_entry_safe(curr, next, &q->task_list, task_list) {
unsigned flags = curr->flags;

if (curr->func(curr, mode, sync, key) &&
Expand Down

0 comments on commit 0a0ee01

Please sign in to comment.