commit | 5eead3848ac541aa0fb46aae8b1da1523d495ea5 | [log] [tgz] |
---|---|---|
author | Kyle Yan <kyan@codeaurora.org> | Wed Nov 08 16:35:35 2017 -0800 |
committer | Kyle Yan <kyan@codeaurora.org> | Wed Nov 08 17:06:44 2017 -0800 |
tree | 71e6345f24c73af386b730ac67cfc6c23abca97f | |
parent | e73251670edf84da34acc306de641b6db6b82217 [diff] |
cpuidle: Wrap cpu_online_mask usage with preempt_disable Make sure preemption is disabled before we read the cpu_online_mask to ensure that no CPUs are hotplugged out after. If we do not have preemption disabled when we read the online mask, we run the risk of sending an IPI to an offline CPU resulting in a BUG(). Change-Id: I349cfd0ff3d269f3d544b458eaad27b627470c09 Signed-off-by: Kyle Yan <kyan@codeaurora.org>