Re: [PATCH x86] [4/16] Add /proc/irq/*/spurious to dump thespurious irq debugging state
From: Ingo Molnar
Date: Fri Jan 04 2008 - 03:59:05 EST
* Andi Kleen <ak@xxxxxxx> wrote:
> This is useful to debug problems with interrupt handlers that return
> sometimes IRQ_NONE.
agreed.
A style error slipped in, please fix it:
> +static int irq_spurious_read(char *page, char **start, off_t off,
> + int count, int *eof, void *data)
> +{
> + struct irq_desc *d = &irq_desc[(long) data];
> + return sprintf(page, "count %u\n"
> + "unhandled %u\n"
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/