Fwd: creating own syscall on 2.6.37.3 and getting error on compilaton...

Filipe Rinaldi filipe.rinaldi at gmail.com
Tue Oct 23 04:50:16 EDT 2012


On 22 October 2012 13:48, Tristan <rgonzale at darkterminal.net> 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



More information about the Kernelnewbies mailing list