[Top] [All Lists]

Re: Question about r4k_clear_page_xxx()

To: Rani Assaf <>
Subject: Re: Question about r4k_clear_page_xxx()
From: Ralf Baechle <>
Date: Thu, 11 Apr 2002 22:04:01 -0700
In-reply-to: <>; from on Wed, Apr 10, 2002 at 04:14:08AM +0200
References: <>
User-agent: Mutt/
On Wed, Apr 10, 2002 at 04:14:08AM +0200, Rani Assaf wrote:

> I was cleaning  duplicate code between my port of  IDT RC32355 and the
> current tree. I want to use r4k_clear_page_d16() but the function uses
> store double (sd) which is not available on this processor.
> What's the reason for having r4k_clear_page_xxx() use store double and
> not r4k_copy_page_xxx()??

The 32-bit kernel doesn't save or restore the upper 32-bits of general
purpose registers.  Therefore 64-bit stores can only be used with the
$zero register.


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