On 8/31/05, kinGkonGkoli <raju.us@xxxxxxxxx> wrote: > > Hi There, > > I 'm using redhat linux 2.4.20-8. > Was trying to make knetlog-stat kernel module ( Daniele ). > sigmask_lock field isnot present in the task_struct structure. > Wht Shud i do now ??!! It is there, have a look at the following link, which points to the definition of task_struct in 2.4.20 kernel http://lxr.linux.no/source/include/linux/sched.h?v=2.4.20#L287 Also look at line 401, in this file, you will find the definition of sigmask_lock -regards, -Gaurav > > d code goes as follows -- > > ..... > ... > .. > if ( signal_pending( current ) ) { > spin_lock_irq(current->sigmask_lock); > flush_signals(current); > > spin_unlock_irq(current->sigmask_lock); > break; > } > .. > .... > ...... > > -------------------- > kinGkonGkoli > Bangalore. > -------------------- -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/