[Top] [All Lists]

Re: __up and __down not found in 2.25 kernel

To: xavier prabhu <>
Subject: Re: __up and __down not found in 2.25 kernel
From: Ralf Baechle <>
Date: Thu, 25 Mar 2004 11:18:36 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.4.1i
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.


<Prev in Thread] Current Thread [Next in Thread>