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:Todd Kjos <tkjos@google.com> Change-Id: I5b887d34ca05e995030ef0c8f39488d932c52770
Loading
Please sign in to comment