[Top] [All Lists]

Re: system.h asm fixes

To: Thiemo Seufer <>
Subject: Re: system.h asm fixes
From: Ralf Baechle <>
Date: Tue, 18 Jun 2002 02:52:04 +0200
In-reply-to: <>; from on Tue, Jun 18, 2002 at 12:36:50AM +0200
References: <1024338042.1463.21.camel@localhost.localdomain> <> <>
User-agent: Mutt/
On Tue, Jun 18, 2002 at 12:36:50AM +0200, Thiemo Seufer wrote:

> Ralf Baechle wrote:
> [snip]
> > > Looks to me like we're missing some proper asm clobber markers:
> > 
> > No, as per convention $1 is never used by the compiler per convention,
> > so clobbering not necessary.  I recently removed all "$1" clobbers to
> > make the code a bit easier to read.
> How can this work? A grep shows many instances of $1 usage,

Uses by assembler code only, not gcc.  Therefoe we don't need to protect
C code against use of $at.

> I don't think all of this code is interrupt safe.

How this should relate to interrupts is beyond me.  Exception handlers do
their own register saving thing.


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