Re: Fw: TASK_EXCLUSIVE undelared ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 24, 2004 at 22:52:02 -0800, prasanna wakhare wrote:
> 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

If it is undeclared, the right way to go is to think why it is not
declared.

Brief look on lxr.linux.no shows, that in 2.4.18 it only exists on ia64
and is defined to 0, so obviously does not do anything anyway.

Another brief look on lxr.linux.no shows, that the symbol does not
exist at all in 2.6.0.

I would assume, that this symbol became obsolete by some change in
scheduler.

> --- 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/
> 
-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux