| | Date | Fri, 4 Jan 2008 09:58:45 +0100 | | From | Ingo Molnar <> | | Subject | Re: [PATCH x86] [4/16] Add /proc/irq/*/spurious to dump the spurious irq debugging state |
* Andi Kleen <ak@suse.de> 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
|