lkml.org 
[lkml]   [2008]   [Jan]   [4]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateFri, 4 Jan 2008 09:58:45 +0100
FromIngo Molnar <>
SubjectRe: [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


\
 
 \ /
  Last update: 2008-01-04 09:01    [W:0.507 / U:1.640 seconds]
©2003-2008 Jasper Spaans