Commit 21de8f00 authored by Qianfeng Rong's avatar Qianfeng Rong Committed by Treehugger Robot
Browse files

ANDROID: vendor hooks: use DECLARE_RESTRICTED_HOOK for android_rvh



The callback function bound to the android_rvh declared by
DECLARE_HOOK() cannot be called in cpu offline or non-atomic
context, otherwise it will report "BUG: scheduling while
atomic" problem, so use DECLARE_RESTRICTED_HOOK() instead.

Bug: 416819074

Change-Id: Ie603374bafe6e144c406306c948d8daeb484ad98
Signed-off-by: default avatarQianfeng Rong <rongqianfeng@vivo.corp-partner.google.com>
parent d574cb3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment