[Top] [All Lists]

Re: Build failure for R3000 DECstation

To: Jun Sun <>
Subject: Re: Build failure for R3000 DECstation
From: Harald Koerfgen <>
Date: Wed, 15 Nov 2000 20:46:13 +0100 (CET)
Cc:, "Maciej W. Rozycki" <>, Ralf Baechle <>
In-reply-to: <>
Organization: none
Reply-to: Harald Koerfgen <>
On 15-Nov-00 Jun Sun wrote:
[R3000 UP userland spinlocks]
> In fact, I don't think you can perform automic operation ONLY based on
> the knowledge whether a context switch has happened during a specified
> period.  (It should be interesting to see if we can actually "prove"
> it.)

I doubt this as well, although I'd love to be proven wrong.
> I also doubt if k0 is absolutely non-zero after a context ...

That's not the problem here, yes, it is. At least for the the CONFIG_CPU_R3000
case. Have a look at include/asm-mips/stackframe.h, especially the R3000
version of the RESTORE_SP_AND_RET macro.


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