Commit 949edf75 authored by Todd Kjos's avatar Todd Kjos
Browse files

ANDROID: Fix suspicious RCU usage warning



The hooks added in the suspend path can be called in a
state where RCU locking is not safe. Change the hooks
to restricted hooks which are safe in this context.

Bug: 232468327
Fixes: ace93ca5 ("ANDROID: GKI: psci: add hook to check if cpu is allowed to power off")
Signed-off-by: default avatarTodd Kjos <tkjos@google.com>
Change-Id: I5b887d34ca05e995030ef0c8f39488d932c52770
parent 7a2101d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment