hc
2023-11-23 7d07b3ae8ddad407913c5301877e694430a3263f
kernel/arch/mips/kernel/traps.c
....@@ -1174,12 +1174,12 @@
11741174 * restricted the allowed set to exclude any CPUs with FPUs,
11751175 * we'll skip the procedure.
11761176 */
1177
- if (cpumask_intersects(&current->cpus_allowed, &mt_fpu_cpumask)) {
1177
+ if (cpumask_intersects(&current->cpus_mask, &mt_fpu_cpumask)) {
11781178 cpumask_t tmask;
11791179
11801180 current->thread.user_cpus_allowed
1181
- = current->cpus_allowed;
1182
- cpumask_and(&tmask, &current->cpus_allowed,
1181
+ = current->cpus_mask;
1182
+ cpumask_and(&tmask, &current->cpus_mask,
11831183 &mt_fpu_cpumask);
11841184 set_cpus_allowed_ptr(current, &tmask);
11851185 set_thread_flag(TIF_FPUBOUND);