Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206235
b: refs/heads/master
c: a1e453d
h: refs/heads/master
i:
  206233: e4b6690
  206231: 01bcab8
v: v3
  • Loading branch information
Tejun Heo committed Jul 2, 2010
1 parent 52530f5 commit d299faf
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: 4ce48b37bfedc2bc11e61eae76784887e88b922c
refs/heads/master: a1e453d2799760ecf2e09ecd45b80edbe7ff540e
2 changes: 1 addition & 1 deletion trunk/kernel/workqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ static struct global_cwq *get_work_gcwq(struct work_struct *work)
if (cpu == NR_CPUS)
return NULL;

BUG_ON(cpu >= num_possible_cpus());
BUG_ON(cpu >= nr_cpu_ids);
return get_gcwq(cpu);
}

Expand Down

0 comments on commit d299faf

Please sign in to comment.