projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/44x: Fix address decoding setup of PCI 2.x cells
[deliverable/linux.git]
/
kernel
/
sched_rt.c
diff --git
a/kernel/sched_rt.c
b/kernel/sched_rt.c
index 954e1a81b7967567b617b918b254deaa12a848a4..bac1061cea2f4ab67f7c6d5b81300d02b717d5ba 100644
(file)
--- a/
kernel/sched_rt.c
+++ b/
kernel/sched_rt.c
@@
-968,8
+968,8
@@
static inline int pick_optimal_cpu(int this_cpu, cpumask_t *mask)
if ((this_cpu != -1) && cpu_isset(this_cpu, *mask))
return this_cpu;
- first =
first_cpu(*
mask);
- if (first
!= NR_CPUS
)
+ first =
cpumask_first(
mask);
+ if (first
< nr_cpu_ids
)
return first;
return -1;
This page took
0.02559 seconds
and
5
git commands to generate.