On 8/13/06, Manish Regmi <regmi.manish@xxxxxxxxx> wrote:
The tasklist_lock is a rw spinlock. It is again a macro defined in <linux/spinlock.h>
i meant to say the tasklist_lock is a rw spinlock. All spinlock functions/macros are is defined in <linux/spinlock.h>. And it is already included by <linux/sched.h>. you shouldn't be getting that error if you have included it. can you tell show the code? regards Manish Regmi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/