On Fri, Mar 10, 2006 at 13:00:29 +0530, Manav Kataria wrote: > Is this a stack manipulation function ? I googled up for it but couldnt > find much apart from message discussions. Can you give a brief excerpt > on this interesting topic or quote an LXR / documentation link please. It's a GCC builtin function. See GCC manual. It reads the value--return address--from stack. > Thanks, > Manav > > Mulyadi Santosa wrote: > >Hi.. > > > > > >>Do you mean if there is a function A that calls an inline function B > >>that in turn calls schedule(), the __builtin_return_address(0) in > >>schedule() will return the address of function A? > >> > > > >Exactly... > > > >regards > > > >Mulyadi > > > > > >-- > >Kernelnewbies: Help each other learn about the Linux kernel. > >Archive: http://mail.nl.linux.org/kernelnewbies/ > >FAQ: http://kernelnewbies.org/faq/ > > > > > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > -- Jan 'Bulb' Hudec <bulb@xxxxxx>
Attachment:
signature.asc
Description: Digital signature