---------- Forwarded message ---------- From: Anand H. Krishnan <anandhkrishnan@xxxxxxxxx> Date: Aug 14, 2006 4:46 AM Subject: Re: Kernel Thread and Kernel Module To: Manish Regmi <regmi.manish@xxxxxxxxx> Hi,
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>.
tasklist_lock is not exported anymore and can be used only by inbuilt drivers (which also probably will change). I guess, you a re not supposed to walk a process list for any purpose.. Anand
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/
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/