diff --git a/src/irq.c b/src/irq.c
index 1168b979e07688a995a1a7e640c5237a28df8641..93f3f53bea09b964db1f32109c88faf685465e15 100644 (file)
--- a/src/irq.c
+++ b/src/irq.c
} else {
ERROR ("irq plugin: unable to get CPU count from first line "
"of /proc/interrupts");
} else {
ERROR ("irq plugin: unable to get CPU count from first line "
"of /proc/interrupts");
+ fclose (fh);
return (-1);
}
return (-1);
}
if (irq_name[irq_name_len - 1] != ':')
continue;
if (irq_name[irq_name_len - 1] != ':')
continue;
+ /* Is it the the ARM fast interrupt (FIQ)? */
+ if (irq_name_len == 4 && (strncmp(irq_name, "FIQ:", 4) == 0))
+ continue;
+
irq_name[irq_name_len - 1] = 0;
irq_name_len--;
irq_name[irq_name_len - 1] = 0;
irq_name_len--;