diff options
author | Drew Richardson <drew.richardson@arm.com> | 2012-12-14 12:00:00 -0800 |
---|---|---|
committer | Drew Richardson <drew.richardson@arm.com> | 2014-12-19 15:33:02 -0800 |
commit | a01058e248133bb7c1ba0238ab380e4fac924e97 (patch) | |
tree | 8fc08c126fcb711fc9a2011eb6314c68d429b800 /driver/gator_events_irq.c | |
parent | b04e8aefeed42f23955e88c7aa1611e49bdf5909 (diff) |
gator: Version 5.135.13
Signed-off-by: Drew Richardson <drew.richardson@arm.com>
Diffstat (limited to 'driver/gator_events_irq.c')
-rw-r--r-- | driver/gator_events_irq.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/driver/gator_events_irq.c b/driver/gator_events_irq.c index 435bc86..1221372 100644 --- a/driver/gator_events_irq.c +++ b/driver/gator_events_irq.c @@ -21,8 +21,8 @@ static ulong softirq_key; static DEFINE_PER_CPU(int[TOTALIRQ], irqCnt); static DEFINE_PER_CPU(int[TOTALIRQ * 2], irqGet); -GATOR_DEFINE_PROBE(irq_handler_exit, TP_PROTO(int irq, - struct irqaction *action, int ret)) +GATOR_DEFINE_PROBE(irq_handler_exit, + TP_PROTO(int irq, struct irqaction *action, int ret)) { unsigned long flags; @@ -71,10 +71,10 @@ static int gator_events_irq_create_files(struct super_block *sb, struct dentry * return 0; } -static int gator_events_irq_online(int** buffer) +static int gator_events_irq_online(int **buffer) { int len = 0, cpu = smp_processor_id(); - unsigned long flags; // not necessary as we are in interrupt context anyway, but doesn't hurt + unsigned long flags; // not necessary as we are in interrupt context anyway, but doesn't hurt // synchronization with the irq_exit functions is not necessary as the values are being reset if (hardirq_enabled) { @@ -136,7 +136,7 @@ static void gator_events_irq_stop(void) static int gator_events_irq_read(int **buffer) { - unsigned long flags; // not necessary as we are in interrupt context anyway, but doesn't hurt + unsigned long flags; // not necessary as we are in interrupt context anyway, but doesn't hurt int len, value; int cpu = smp_processor_id(); @@ -185,4 +185,5 @@ int gator_events_irq_init(void) return gator_events_install(&gator_events_irq_interface); } + gator_events_init(gator_events_irq_init); |