I don't think this is true perhaps u can used set_current_state()macro to set the task perhaps i don't know in detail but in rubini it has given to set the task to TASK_EXCLUSIVE i try it but it won't work --- Anup Patil <patil_a@etech.haw-hamburg.de> wrote: > ----- Original Message ----- > From: "prasanna wakhare" > <prasannawakhare@yahoo.com> > To: <kernelnewbies@nl.linux.org> > Sent: Saturday, January 24, 2004 9:38 AM > Subject: TASK_EXCLUSIVE undelared ? > > > > current->state = TASK_INTERRUPTIBLE | > TASK_EXCLUSIVE > > when i used in my LKM it is giving me error > > that > > TASK_EXCLUSIVE is undeclared > > rather there is no state like that in > sched.h(might > > be it will be there) > > > > so how can i used this flag? > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free web site building tool. > Try it! > > http://webhosting.yahoo.com/ps/sb/ > > > > -- > > Kernelnewbies: Help each other learn about the > Linux kernel. > > Archive: > http://mail.nl.linux.org/kernelnewbies/ > > FAQ: http://kernelnewbies.org/faq/ > > > > The task states are not applicable for modules that > execute in > kernel > mode. > > > > -- > Kernelnewbies: Help each other learn about the Linux > kernel. > Archive: > http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/