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

Commit 0208cdf6 authored by Xiaogang Cui's avatar Xiaogang Cui
Browse files

coresight: set etmdrvdata just before put_online_cpus



Due to race conditions, ETM initialization can fail if cpu hotplug
occurs while ETM probe is ongoing. Move etmdrvdata initialization
just before put_online_cpus() to prevent this race condition.

Change-Id: Iac943e5498d30554f5cb8bca4a9fe8e32bdf4030
Signed-off-by: default avatarXiaogang Cui <xiaogang@codeaurora.org>
parent f7d25bdf
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