Linux MIPS Architecture development
 help / color / mirror / Atom feed
* __up and __down not found in 2.25 kernel
@ 2004-03-25  8:36 xavier prabhu
  2004-03-25  9:01 ` Ralf Baechle
  2004-03-25 10:18 ` Ralf Baechle
  0 siblings, 2 replies; 4+ messages in thread
From: xavier prabhu @ 2004-03-25  8:36 UTC (permalink / raw)
  To: linux-mips

Hi,

I'm using a module which is developed for 2.22 kernel.
This module uses __up and __down semaphore functions. 
While I insmod this module with 2.25 kernel,
I get the following error message
"insmod: unresolved symbol __up
insmod: unresolved symbol __down"

I checked the semaphore.c. It doesn't define these two functions.
Is there any way to work around this issue.

Please help me to solve this issue.
Thanks in advance.

Regards,
Xavier.
-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: __up and __down not found in 2.25 kernel
  2004-03-25  8:36 __up and __down not found in 2.25 kernel xavier prabhu
@ 2004-03-25  9:01 ` Ralf Baechle
  2004-03-25 10:18 ` Ralf Baechle
  1 sibling, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2004-03-25  9:01 UTC (permalink / raw)
  To: xavier prabhu; +Cc: linux-mips

On Thu, Mar 25, 2004 at 04:36:29PM +0800, xavier prabhu wrote:

> I'm using a module which is developed for 2.22 kernel.
> This module uses __up and __down semaphore functions. 
> While I insmod this module with 2.25 kernel,
> I get the following error message
> "insmod: unresolved symbol __up
> insmod: unresolved symbol __down"
> 
> I checked the semaphore.c. It doesn't define these two functions.
> Is there any way to work around this issue.

Sounds like you're using some broken tree - get the sources from cvs.

  Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: __up and __down not found in 2.25 kernel
@ 2004-03-25  9:51 xavier prabhu
  0 siblings, 0 replies; 4+ messages in thread
From: xavier prabhu @ 2004-03-25  9:51 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips

Hi Ralf,

I'm sorry that the version numbers are :
2.4.22 and 2.4.25.

Thanks,
Xavier.

----- Original Message -----
From: Ralf Baechle <ralf@linux-mips.org>
Date: 	Thu, 25 Mar 2004 10:01:28 +0100
To: xavier prabhu <xavier_prabhu@linuxmail.org>
Subject: Re: __up and __down not found in 2.25 kernel

> On Thu, Mar 25, 2004 at 04:36:29PM +0800, xavier prabhu wrote:
> 
> > I'm using a module which is developed for 2.22 kernel.
> > This module uses __up and __down semaphore functions. 
> > While I insmod this module with 2.25 kernel,
> > I get the following error message
> > "insmod: unresolved symbol __up
> > insmod: unresolved symbol __down"
> > 
> > I checked the semaphore.c. It doesn't define these two functions.
> > Is there any way to work around this issue.
> 
> Sounds like you're using some broken tree - get the sources from cvs.
> 
>   Ralf
> 

-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: __up and __down not found in 2.25 kernel
  2004-03-25  8:36 __up and __down not found in 2.25 kernel xavier prabhu
  2004-03-25  9:01 ` Ralf Baechle
@ 2004-03-25 10:18 ` Ralf Baechle
  1 sibling, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2004-03-25 10:18 UTC (permalink / raw)
  To: xavier prabhu; +Cc: linux-mips

On Thu, Mar 25, 2004 at 04:36:29PM +0800, xavier prabhu wrote:

> I'm using a module which is developed for 2.22 kernel.
> This module uses __up and __down semaphore functions. 
> While I insmod this module with 2.25 kernel,
> I get the following error message
> "insmod: unresolved symbol __up
> insmod: unresolved symbol __down"
> 
> I checked the semaphore.c. It doesn't define these two functions.
> Is there any way to work around this issue.

Seems I wasn't yet awake in my previous posting ...

__up and __down are internal semaphore functions.  Do not use them at all;
any such use is not portable.  Looks like you're using a broken module
from i386 or so.

  Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-03-25 10:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-25  8:36 __up and __down not found in 2.25 kernel xavier prabhu
2004-03-25  9:01 ` Ralf Baechle
2004-03-25 10:18 ` Ralf Baechle
  -- strict thread matches above, loose matches on Subject: below --
2004-03-25  9:51 xavier prabhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox