1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Locking Between Two Hard IRQ Handlers</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Unreliable Guide To Locking"><link rel="up" href="hardirq-context.html" title="Chapter&#160;4.&#160;Hard IRQ Context"><link rel="prev" href="hardirq-context.html" title="Chapter&#160;4.&#160;Hard IRQ Context"><link rel="next" href="cheatsheet.html" title="Chapter&#160;5.&#160;Cheat Sheet For Locking"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Locking Between Two Hard IRQ Handlers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="hardirq-context.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;4.&#160;Hard IRQ Context</th><td width="20%" align="right">&#160;<a accesskey="n" href="cheatsheet.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="hardirq-hardirq"></a>Locking Between Two Hard IRQ Handlers</h2></div></div></div><p>
2      It is rare to have to share data between two IRQ handlers, but
3      if you do, <code class="function">spin_lock_irqsave()</code> should be
4      used: it is architecture-specific whether all interrupts are
5      disabled inside irq handlers themselves.
6    </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="hardirq-context.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="hardirq-context.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="cheatsheet.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;4.&#160;Hard IRQ Context&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Chapter&#160;5.&#160;Cheat Sheet For Locking</td></tr></table></div></body></html>
7