<br><br><div class="gmail_quote">On Fri, Sep 30, 2011 at 3:53 PM, anish singh <span dir="ltr"><<a href="mailto:anish198519851985@gmail.com">anish198519851985@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 class="im">On Fri, Sep 30, 2011 at 3:28 PM, sandeep kumar<br>
<<a href="mailto:coolsandyforyou@gmail.com">coolsandyforyou@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I was wondering what __attribute__ does in the kernel code?<br>
> I found several definitions but couldnot come to one conclusion..<br>
><br>
> __releases(x) is defined in compiler.h. What does this mean??<br>
> # define __releases(x) __attribute__((context(x,1,0)))<br>
</div>GCC directive ?<br>
<div class="im">> Thanking you<br>
> --<br>
> With regards,<br>
> Sandeep Kumar Anantapalli,<br>
><br>
><br>
</div>> _______________________________________________<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>
><br>
><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>