Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178037
b: refs/heads/master
c: 416eb39
h: refs/heads/master
i:
  178035: 565f4fd
v: v3
  • Loading branch information
Ingo Molnar committed Dec 17, 2009
1 parent 8f7b11d commit 5042689
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 738d2be4301007f054541c5c4bf7fb6a361c9b3a
refs/heads/master: 416eb39556a03d1c7e52b0791e9052ccd71db241
2 changes: 1 addition & 1 deletion trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -2041,7 +2041,7 @@ void set_task_cpu(struct task_struct *p, unsigned int new_cpu)
* We should never call set_task_cpu() on a blocked task,
* ttwu() will sort out the placement.
*/
WARN_ON(p->state != TASK_RUNNING && p->state != TASK_WAKING);
WARN_ON_ONCE(p->state != TASK_RUNNING && p->state != TASK_WAKING);
#endif

trace_sched_migrate_task(p, new_cpu);
Expand Down

0 comments on commit 5042689

Please sign in to comment.