ANDROID: irq: Add vendor data field to struct irq_desc
Add vendor data field to struct irq_desc to track the irq count growth, vendor module can store the current count value and calculate the delta in next scan cycle, helpful to enhance irq performance and debug irq related issues. Bug: 267983545 Change-Id: I6b4c12aeaa09ee133918870772833a777190dccc Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
This commit is contained in:
parent
be71152643
commit
234faf40fa
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <linux/rcupdate.h>
|
||||
#include <linux/kobject.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/android_vendor.h>
|
||||
|
||||
/*
|
||||
* Core internal functions to deal with irq descriptors
|
||||
|
|
@ -102,6 +103,7 @@ struct irq_desc {
|
|||
int parent_irq;
|
||||
struct module *owner;
|
||||
const char *name;
|
||||
ANDROID_VENDOR_DATA(1);
|
||||
} ____cacheline_internodealigned_in_smp;
|
||||
|
||||
#ifdef CONFIG_SPARSE_IRQ
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue