commit | fa00345783e97a5b2209f82d1aa0506b8ac17997 | [log] [tgz] |
---|---|---|
author | Sheetal Sahasrabudhe <sheetals@codeaurora.org> | Wed Jan 08 16:50:42 2014 -0500 |
committer | Neil Leeder <nleeder@codeaurora.org> | Thu Jan 09 10:56:13 2014 -0500 |
tree | b3fc14dc79da320dd587b9f62e5cbaeec95ee502 | |
parent | 3e908cd9e5543946c3190f9bad3b34a35429fd4c [diff] |
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: Sheetal Sahasrabudhe <sheetals@codeaurora.org>