ANDROID: vendor_hooks: Add param for android_vh_cpu_up/down

Add param for android_vh_cpu_up/down.

Bug: 203492840

Signed-off-by: Liujie Xie <xieliujie@oppo.com>
Change-Id: I1c7eaaaf980fed536883b153440eb21dbd380d08
This commit is contained in:
Liujie Xie
2021-10-19 16:17:37 +08:00
committed by Todd Kjos
parent 9c78b0eb03
commit 496b17304a
2 changed files with 6 additions and 6 deletions

View File

@@ -11,12 +11,12 @@
* mechanism for vendor modules to hook and extend functionality
*/
DECLARE_HOOK(android_vh_cpu_up,
TP_PROTO(void *unused),
TP_ARGS(unused));
TP_PROTO(unsigned int cpu),
TP_ARGS(cpu));
DECLARE_HOOK(android_vh_cpu_down,
TP_PROTO(void *unused),
TP_ARGS(unused));
TP_PROTO(unsigned int cpu),
TP_ARGS(cpu));
/* macro versions of hooks are no longer required */