forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-30 6c9be420e167ee7ce45c0309586f09ddab28ac15
kernel/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c
....@@ -1445,7 +1445,7 @@
14451445 * may be scheduled elsewhere and invalidate entries in the
14461446 * pseudo-locked region.
14471447 */
1448
- if (!cpumask_subset(&current->cpus_allowed, &plr->d->cpu_mask)) {
1448
+ if (!cpumask_subset(current->cpus_ptr, &plr->d->cpu_mask)) {
14491449 mutex_unlock(&rdtgroup_mutex);
14501450 return -EINVAL;
14511451 }