lkml.org 
[lkml]   [2006]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH] Cascaded interrupts: a simple solution
From
Date

> Index: linux-work/kernel/irq/manage.c
> ===================================================================
> --- linux-work.orig/kernel/irq/manage.c 2006-05-11 11:45:09.000000000 +1000
> +++ linux-work/kernel/irq/manage.c 2006-05-11 12:00:52.000000000 +1000
> @@ -371,6 +371,13 @@ int request_irq(unsigned int irq,
> if (!handler)
> return -EINVAL;
>
> + /*
> + * SA_CASCADE implies SA_INTERRUPT (that is, the demux itself happens
> + * with interrupts disabled, the final handler is still called with
> + */
> + if (irqflags & SA_CASCADEIRQ)
> + irqflags |= SA_INTERRUPT;
> +

Oh and that bit isn't actually necessary ...

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-11 08:16    [W:0.374 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site