What is "__attribute__()" in kernel code

sandeep kumar coolsandyforyou at gmail.com
Fri Sep 30 05:58:00 EDT 2011


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)))
Thanking you
-- 
With regards,
Sandeep Kumar Anantapalli,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110930/885c8606/attachment.html 


More information about the Kernelnewbies mailing list