forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-20 69d6da3c1c63675524a25e7dc92a4f43c4164cef
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();