On 22 October 2012 13:48, Tristan <[email protected]> wrote:
> How can you tell that cpu_rq() is a private macro?  Because there is no 
> header for it?  Be as specific as you can, I'd like to completely understand 
> what the concept.  I'll try the current macro.  Thanks Filipe.
>
> -Tristan

Hi Tristan,

By private I mean it was declared inside sched.c so only code from
sched.c can access it.
Note also cpu_rq() uses "runqueues" which is also private (declared
static) to sched.c.

Cheers,
-Filipe

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to