diff options
Diffstat (limited to 'arch/mips/kernel/traps.c')
-rw-r--r-- | arch/mips/kernel/traps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 33984c04b60b..b05b9462c728 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
@@ -1121,13 +1121,13 @@ static void mt_ase_fp_affinity(void) | |||
1121 | * restricted the allowed set to exclude any CPUs with FPUs, | 1121 | * restricted the allowed set to exclude any CPUs with FPUs, |
1122 | * we'll skip the procedure. | 1122 | * we'll skip the procedure. |
1123 | */ | 1123 | */ |
1124 | if (cpus_intersects(current->cpus_allowed, mt_fpu_cpumask)) { | 1124 | if (cpumask_intersects(¤t->cpus_allowed, &mt_fpu_cpumask)) { |
1125 | cpumask_t tmask; | 1125 | cpumask_t tmask; |
1126 | 1126 | ||
1127 | current->thread.user_cpus_allowed | 1127 | current->thread.user_cpus_allowed |
1128 | = current->cpus_allowed; | 1128 | = current->cpus_allowed; |
1129 | cpus_and(tmask, current->cpus_allowed, | 1129 | cpumask_and(&tmask, ¤t->cpus_allowed, |
1130 | mt_fpu_cpumask); | 1130 | &mt_fpu_cpumask); |
1131 | set_cpus_allowed_ptr(current, &tmask); | 1131 | set_cpus_allowed_ptr(current, &tmask); |
1132 | set_thread_flag(TIF_FPUBOUND); | 1132 | set_thread_flag(TIF_FPUBOUND); |
1133 | } | 1133 | } |