hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/arch/mips/include/asm/switch_to.h
....@@ -42,7 +42,7 @@
4242 * inline to try to keep the overhead down. If we have been forced to run on
4343 * a "CPU" with an FPU because of a previous high level of FP computation,
4444 * but did not actually use the FPU during the most recent time-slice (CU1
45
- * isn't set), we undo the restriction on cpus_allowed.
45
+ * isn't set), we undo the restriction on cpus_mask.
4646 *
4747 * We're not calling set_cpus_allowed() here, because we have no need to
4848 * force prompt migration - we're already switching the current CPU to a
....@@ -57,7 +57,7 @@
5757 test_ti_thread_flag(__prev_ti, TIF_FPUBOUND) && \
5858 (!(KSTK_STATUS(prev) & ST0_CU1))) { \
5959 clear_ti_thread_flag(__prev_ti, TIF_FPUBOUND); \
60
- prev->cpus_allowed = prev->thread.user_cpus_allowed; \
60
+ prev->cpus_mask = prev->thread.user_cpus_allowed; \
6161 } \
6262 next->thread.emulated_fp = 0; \
6363 } while(0)