forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-20 0d8657dd3056063fb115946b10157477b5c70451
kernel/kernel/trace/trace_hwlat.c
....@@ -280,7 +280,7 @@
280280 * of this thread, than stop migrating for the duration
281281 * of the current test.
282282 */
283
- if (!cpumask_equal(current_mask, &current->cpus_allowed))
283
+ if (!cpumask_equal(current_mask, current->cpus_ptr))
284284 goto disable;
285285
286286 get_online_cpus();