linux-mips
[Top] [All Lists]

Re: down_trylock() implementation for MIPS 4KEc CPU implies 64bit arithm

To: Emmanuel Michon <em@realmagic.fr>
Subject: Re: down_trylock() implementation for MIPS 4KEc CPU implies 64bit arithmetics?
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 26 May 2004 22:33:46 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <1085589315.2306.49.camel@avalon.france.sdesigns.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1085589315.2306.49.camel@avalon.france.sdesigns.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Wed, May 26, 2004 at 06:35:16PM +0200, Emmanuel Michon wrote:

Semaphores can be implemented using just a single 32-bit variable which
would mean the same code could be used for 32-bit and 64-bit processors
as long as only they support ll/sc.  Maybe somebody has the time at his
hands, *hint*, *hint* :-)

  Ralf

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