ANDROID: gic: change gic resume vendor hook para
For get gic_data other var, So change gic resume vendor hook para to global struct gic_data Bug: 189518432 Signed-off-by: panwang qu <qupanwang@xiaomi.com> Change-Id: Ie6d949ffd19fbb35fbae6facaa886ec3c2e382f8
This commit is contained in:
@@ -1269,7 +1269,7 @@ static inline void gic_cpu_pm_init(void) { }
|
||||
#ifdef CONFIG_PM
|
||||
void gic_resume(void)
|
||||
{
|
||||
trace_android_vh_gic_resume(gic_data.domain, gic_data.dist_base);
|
||||
trace_android_vh_gic_resume(&gic_data);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(gic_resume);
|
||||
|
||||
|
@@ -7,15 +7,14 @@
|
||||
#if !defined(_TRACE_HOOK_GIC_H) || defined(TRACE_HEADER_MULTI_READ)
|
||||
#define _TRACE_HOOK_GIC_H
|
||||
|
||||
#include <linux/irqdomain.h>
|
||||
|
||||
#include <linux/tracepoint.h>
|
||||
#include <trace/hooks/vendor_hooks.h>
|
||||
struct gic_chip_data;
|
||||
|
||||
DECLARE_HOOK(android_vh_gic_resume,
|
||||
TP_PROTO(struct irq_domain *domain, void __iomem *dist_base),
|
||||
TP_ARGS(domain, dist_base));
|
||||
|
||||
TP_PROTO(struct gic_chip_data *gd),
|
||||
TP_ARGS(gd));
|
||||
/* macro versions of hooks are no longer required */
|
||||
|
||||
#endif /* _TRACE_HOOK_GIC_H */
|
||||
|
Reference in New Issue
Block a user