<br><br><div class="gmail_quote">On Fri, Sep 30, 2011 at 3:53 PM, anish singh <span dir="ltr">&lt;<a href="mailto:anish198519851985@gmail.com">anish198519851985@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, Sep 30, 2011 at 3:28 PM, sandeep kumar<br>
&lt;<a href="mailto:coolsandyforyou@gmail.com">coolsandyforyou@gmail.com</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I was wondering what __attribute__ does in the kernel code?<br>
&gt; I found several definitions but couldnot come to one conclusion..<br>
&gt;<br>
&gt; __releases(x)  is defined in compiler.h. What does this mean??<br>
&gt; # define __releases(x)                  __attribute__((context(x,1,0)))<br>
</div>GCC directive ?<br>
<div class="im">&gt; Thanking you<br>
&gt; --<br>
&gt; With regards,<br>
&gt; Sandeep Kumar Anantapalli,<br>
&gt;<br>
&gt;<br>
</div>&gt; _______________________________________________<br>
&gt; Kernelnewbies mailing list<br>
&gt; <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
&gt; <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div>Hi Anish,<br><br>Refer link <a href="http://www.unixwiz.net/techtips/gnu-c-attributes.html">http://www.unixwiz.net/techtips/gnu-c-attributes.html</a><br><br>Regards,<br>Rohan Puri<br>