aboutsummaryrefslogtreecommitdiff
path: root/idlestat.h
diff options
context:
space:
mode:
Diffstat (limited to 'idlestat.h')
-rw-r--r--idlestat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/idlestat.h b/idlestat.h
index 7a20516..7ffe7b6 100644
--- a/idlestat.h
+++ b/idlestat.h
@@ -29,7 +29,15 @@ struct cpuidle_cstate {
/* irq type:
* 0: hardware irq;
* 1: software irq;
+ * 2: ipi irq;
*/
+enum IRQ_TYPE {
+ HARD_IRQ = 0,
+ SOFT_IRQ,
+ IPI_IRQ,
+ IRQ_TYPE_MAX
+};
+
struct wakeup_irq {
int id;
int irq_type;