What is "__attribute__()" in kernel code

anish singh anish198519851985 at gmail.com
Fri Sep 30 06:23:09 EDT 2011


On Fri, Sep 30, 2011 at 3:28 PM, sandeep kumar
<coolsandyforyou at gmail.com> wrote:
> Hi all,
>
> I was wondering what __attribute__ does in the kernel code?
> I found several definitions but couldnot come to one conclusion..
>
> __releases(x)  is defined in compiler.h. What does this mean??
> # define __releases(x)                  __attribute__((context(x,1,0)))
GCC directive ?
> Thanking you
> --
> With regards,
> Sandeep Kumar Anantapalli,
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>



More information about the Kernelnewbies mailing list