mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-11 20:05:22 +02:00
ANDROID: vendor_hooks: Fix incorrect declaration of restricted hook
Fix incorrect declaration of android_rvh_alloc_and_link_pwqs as a restricted vendor hook Bug: 360020729 Change-Id: Ib93593c33aed03e65b9cb8ae779b4e4177317f88 Signed-off-by: Yang Yang <yang.yang@vivo.com>
This commit is contained in:
parent
1933a7b8ab
commit
c8968f29f4
|
@ -18,9 +18,15 @@ DECLARE_HOOK(android_vh_wq_lockup_pool,
|
|||
TP_PROTO(int cpu, unsigned long pool_ts),
|
||||
TP_ARGS(cpu, pool_ts));
|
||||
|
||||
#ifndef __GENKSYMS__
|
||||
DECLARE_RESTRICTED_HOOK(android_rvh_alloc_and_link_pwqs,
|
||||
TP_PROTO(struct workqueue_struct *wq, int *ret, bool *skip),
|
||||
TP_ARGS(wq, ret, skip), 1);
|
||||
#else
|
||||
DECLARE_HOOK(android_rvh_alloc_and_link_pwqs,
|
||||
TP_PROTO(struct workqueue_struct *wq, int *ret, bool *skip),
|
||||
TP_ARGS(wq, ret, skip));
|
||||
#endif
|
||||
|
||||
#endif /* _TRACE_HOOK_WQLOCKUP_H */
|
||||
/* This part must be outside protection */
|
||||
|
|
Loading…
Reference in New Issue
Block a user