| .. | .. |
|---|
| 1174 | 1174 | * restricted the allowed set to exclude any CPUs with FPUs, |
|---|
| 1175 | 1175 | * we'll skip the procedure. |
|---|
| 1176 | 1176 | */ |
|---|
| 1177 | | - if (cpumask_intersects(¤t->cpus_allowed, &mt_fpu_cpumask)) { |
|---|
| 1177 | + if (cpumask_intersects(¤t->cpus_mask, &mt_fpu_cpumask)) { |
|---|
| 1178 | 1178 | cpumask_t tmask; |
|---|
| 1179 | 1179 | |
|---|
| 1180 | 1180 | current->thread.user_cpus_allowed |
|---|
| 1181 | | - = current->cpus_allowed; |
|---|
| 1182 | | - cpumask_and(&tmask, ¤t->cpus_allowed, |
|---|
| 1181 | + = current->cpus_mask; |
|---|
| 1182 | + cpumask_and(&tmask, ¤t->cpus_mask, |
|---|
| 1183 | 1183 | &mt_fpu_cpumask); |
|---|
| 1184 | 1184 | set_cpus_allowed_ptr(current, &tmask); |
|---|
| 1185 | 1185 | set_thread_flag(TIF_FPUBOUND); |
|---|