forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-06 89281ea41721b3027e14d66c19f2dbb4d11847d3
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();