<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <div>&gt;You should still put the spin_lock calls into your code because &gt;you<BR>&gt;never know if someone else will compile it and for another &gt;target. If<BR>&gt;someone would, for example, compile the same code for a SMP &gt;machine then<BR>&gt;the spin_lock will actually lock.<BR></div>  <div>I used the spinlock both in an interrupt handler to protect a group of variables (because in an interrupt I can't use a semaphore) and the same spinlock in a ioctl handler where the same group of variables is accessed. Is this wrong? I have a 2.6.19.2 linux kernel.</div>  <div>&nbsp;</div>  <div>Thank you,</div>  <div>Melinda.</div>  <div>&nbsp;</div>  <div>&nbsp;</div>  <div>&nbsp;</div></BLOCKQUOTE><p>&#32;
      <hr size=1>Ready for the edge of your seat? 
<a href="http://us.rd.yahoo.com/evt=48220/*http://tv.yahoo.com/">Check out tonight's top picks</a> on Yahoo! TV.