Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "kvm: vmx: hook preemption timer support"
[kvmfornfv.git]
/
kernel
/
kernel
/
sched
/
cpupri.c
diff --git
a/kernel/kernel/sched/cpupri.c
b/kernel/kernel/sched/cpupri.c
index
981fcd7
..
11e9705
100644
(file)
--- a/
kernel/kernel/sched/cpupri.c
+++ b/
kernel/kernel/sched/cpupri.c
@@
-103,11
+103,11
@@
int cpupri_find(struct cpupri *cp, struct task_struct *p,
if (skip)
continue;
if (skip)
continue;
- if (cpumask_any_and(
&p->cpus_allowed
, vec->mask) >= nr_cpu_ids)
+ if (cpumask_any_and(
tsk_cpus_allowed(p)
, vec->mask) >= nr_cpu_ids)
continue;
if (lowest_mask) {
continue;
if (lowest_mask) {
- cpumask_and(lowest_mask,
&p->cpus_allowed
, vec->mask);
+ cpumask_and(lowest_mask,
tsk_cpus_allowed(p)
, vec->mask);
/*
* We have to ensure that we have at least one bit
/*
* We have to ensure that we have at least one bit