Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1b2394cc authored by Sheetal Sahasrabudhe's avatar Sheetal Sahasrabudhe Committed by Gerrit - the friendly Code Review server
Browse files

msm: perf: Fix cpu id logic in tracectr notifier



The code in tracecounter context switch notifier was using
smp_processor_id() in order to get cpu number. This was resulting
into following dmesg error: "BUG: using smp_processor_id() in
preemptible [00000000] code".
Use thread_info struct to get the cpu #.

Change-Id: Ic7c995d2c2bc25c4389248854dec91fb84ce3128
Signed-off-by: default avatarSheetal Sahasrabudhe <sheetals@codeaurora.org>
parent a260c9b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment