commit | 692d4209869c64cb33234a47ef6b8158b90553e7 | [log] [tgz] |
---|---|---|
author | Ashwin Chaugule <ashwinc@codeaurora.org> | Wed Feb 20 19:12:56 2013 -0500 |
committer | Ashwin Chaugule <ashwinc@codeaurora.org> | Fri Feb 22 17:08:01 2013 -0500 |
tree | 83a237675586e52cb31b717fa97ed45ef38877af | |
parent | f8a364984d5636892d09c85d416e60d194cde9b1 [diff] |
Perf: Check perf activity on correct CPU The CPU hotplug notifier is not always preempt safe. So relying on smp_processor_id() is not correct. Use the cpu id from the notifier as the target CPU to check for perf activity before hotplug or power collapse. CRs-Fixed: 454688 Change-Id: I1a96b236904a2c8ae2f82bbceab4ca8a195395d1 Signed-off-by: Ashwin Chaugule <ashwinc@codeaurora.org>