#include <asm/atomic.h>
#include <asm/rwlock.h>

#if defined(CONFIG_SMP)
asm(
".align  4\n"
".globl  __write_lock_failed\n"
"__write_lock_failed:\n"
"        " LOCK "addl    $" RW_LOCK_BIAS_STR ",(%"__OP"ax)\n"
"1:      rep; nop\n"
"        cmpl    $" RW_LOCK_BIAS_STR ",(%"__OP"ax)\n"
"        jne     1b\n"
"        " LOCK "subl    $" RW_LOCK_BIAS_STR ",(%"__OP"ax)\n"
"        jnz     __write_lock_failed\n"
"        ret\n"

".align  4\n"
".globl  __read_lock_failed\n"
"__read_lock_failed:\n"
"        lock ; incl     (%"__OP"ax)\n"
"1:      rep; nop\n"
"        cmpl    $1,(%"__OP"ax)\n"
"        js      1b\n"
"        lock ; decl     (%"__OP"ax)\n"
"        js      __read_lock_failed\n"
"        ret\n"
);
#endif
stream' href='/cgit.cgi/openwrt/upstream/'>openwrt/upstream</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='deb36359236e3d815aac8c2d062eca87d9cbd639'/><select name='h' onchange='this.form.submit();'>
<option value='attitude_adjustment'>attitude_adjustment</option>
<option value='barrier_breaker'>barrier_breaker</option>
<option value='chaos_calmer'>chaos_calmer</option>
<option value='lede-17.01'>lede-17.01</option>
<option value='less-old-master'>less-old-master</option>
<option value='master'>master</option>
<option value='old-master'>old-master</option>
<option value='openwrt-18.06'>openwrt-18.06</option>
<option value='openwrt-19.07'>openwrt-19.07</option>
<option value='upstream'>upstream</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>upstream openwrt</td><td class='sub right'>James</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/openwrt/upstream/about/?h=v21.02.5'>about</a><a href='/cgit.cgi/openwrt/upstream/?h=v21.02.5'>summary</a><a href='/cgit.cgi/openwrt/upstream/refs/?h=v21.02.5&amp;id=deb36359236e3d815aac8c2d062eca87d9cbd639'>refs</a><a href='/cgit.cgi/openwrt/upstream/log/.gitignore?h=v21.02.5'>log</a><a class='active' href='/cgit.cgi/openwrt/upstream/tree/.gitignore?h=v21.02.5&amp;id=deb36359236e3d815aac8c2d062eca87d9cbd639'>tree</a><a href='/cgit.cgi/openwrt/upstream/commit/.gitignore?h=v21.02.5&amp;id=deb36359236e3d815aac8c2d062eca87d9cbd639'>commit</a><a href='/cgit.cgi/openwrt/upstream/diff/.gitignore?h=v21.02.5&amp;id=deb36359236e3d815aac8c2d062eca87d9cbd639'>diff</a><a href='/cgit.cgi/openwrt/upstream/stats/.gitignore?h=v21.02.5'>stats</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/openwrt/upstream/log/.gitignore'>
<input type='hidden' name='h' value='v21.02.5'/><input type='hidden' name='id' value='deb36359236e3d815aac8c2d062eca87d9cbd639'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/openwrt/upstream/tree/?h=v21.02.5&amp;id=deb36359236e3d815aac8c2d062eca87d9cbd639'>root</a>/<a href='/cgit.cgi/openwrt/upstream/tree/.gitignore?h=v21.02.5&amp;id=deb36359236e3d815aac8c2d062eca87d9cbd639'>.gitignore</a></div><div class='content'>blob: 70a454ca7cd08da011f32dc15a12f4c8ec6af1d7 (<a href='/cgit.cgi/openwrt/upstream/plain/.gitignore?h=v21.02.5&amp;id=deb36359236e3d815aac8c2d062eca87d9cbd639'>plain</a>)
<table summary='blob content' class='blob'>
<tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a>
<a id='n2' href='#n2'>2</a>
<a id='n3' href='#n3'>3</a>
<a id='n4' href='#n4'>4</a>
<a id='n5' href='#n5'>5</a>
<a id='n6' href='#n6'>6</a>
<a id='n7' href='#n7'>7</a>
<a id='n8' href='#n8'>8</a>
<a id='n9' href='#n9'>9</a>
<a id='n10' href='#n10'>10</a>
<a id='n11' href='#n11'>11</a>
<a id='n12' href='#n12'>12</a>
<a id='n13' href='#n13'>13</a>
<a id='n14' href='#n14'>14</a>
<a id='n15' href='#n15'>15</a>
<a id='n16' href='#n16'>16</a>
<a id='n17' href='#n17'>17</a>
<a id='n18' href='#n18'>18</a>
<a id='n19' href='#n19'>19</a>
<a id='n20' href='#n20'>20</a>
<a id='n21' href='#n21'>21</a>
<a id='n22' href='#n22'>22</a>
<a id='n23' href='#n23'>23</a>
<a id='n24' href='#n24'>24</a>
</pre></td>
<td class='lines'><pre><code></code></pre></td></tr></table>
</div> <!-- class=content -->
<div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit v1.2.3</a> (<a href='https://git-scm.com/'>git 2.25.1</a>) at 2025-01-19 10:40:30 +0000</div>
</div> <!-- id=cgit -->
</body>
</html>