<div dir="ltr"><div class="gmail_default" style="font-family:garamond,serif">Oops, I though IRQ_DISABLED was the opposite of IRQF_SHARED. Sorry.</div><div class="gmail_default" style="font-family:garamond,serif">Consider the question not asked :P</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 17 February 2014 12:06, Jay Aurabind <span dir="ltr"><<a href="mailto:jay.aurabind@gmail.com" target="_blank">jay.aurabind@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font face="Droid Sans">Dear all,<br>
<br>
I've been going through Robert Love's LKD. Here is an excerpt from
it regarding registration of interrupt handlers:<br>
<br>
"When request_irq() is called with IRQF_SHARED specified, the call
succeeds only if the interrupt line is currently not registered,
or if all registered handlers on the line also specified
IRQF_SHARED. Shared handlers, however, can mix usage of
IRQF_DISABLED."<br>
<br>
As far as I understand, the first sentence tells that a line
currently having shared handlers *will only have* handlers
registered with IRQF_SHARED flag in the past. Correct ?<br>
<br>
If a interrupt line has been registered by a handler specified as
non shared, then whats the point in allowing a new handler with a
"shared" flag registering to the same line ? So how does the
mixing of shared and unshared interrupt handlers for the same line
go together as mentioned by the 2nd sentence ? <br>
<br>
Or does it mean that a shared handler which already succeeded the
registration can further register a non shared and shared
interrupt handlers? ( That doesnt make sense, but still... ) ?
Simply put, can someone please elaborate on the second sentence I
quoted from the book ?<br>
<br>
<br>
Thanks and Regards,<br>
Aurabindo J<br>
</font>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><br><div><font face="trebuchet ms, sans-serif" color="#073763">Thanks and Regards,</font></div><div><font face="trebuchet ms, sans-serif" color="#073763"><b>Aurabindo J</b></font></div>
</div>
</div>