From 9ca5fbcb63a8dcaee0527f96afb91dc4b4bd8fa9 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 22 Nov 2023 01:08:11 +0000
Subject: [PATCH] add ip1811 driver
---
kernel/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c b/kernel/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c
index a999a58..d6410d0 100644
--- a/kernel/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c
+++ b/kernel/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c
@@ -1445,7 +1445,7 @@
* may be scheduled elsewhere and invalidate entries in the
* pseudo-locked region.
*/
- if (!cpumask_subset(¤t->cpus_allowed, &plr->d->cpu_mask)) {
+ if (!cpumask_subset(current->cpus_ptr, &plr->d->cpu_mask)) {
mutex_unlock(&rdtgroup_mutex);
return -EINVAL;
}
--
Gitblit v1.6.2