linux-mips
[Top] [All Lists]

Re: [PATCH 04/15] TO_PHYS_MASK for loongson2

To: tiansm@lemote.com
Subject: Re: [PATCH 04/15] TO_PHYS_MASK for loongson2
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 6 Jun 2007 18:41:52 +0100
Cc: linux-mips@linux-mips.org, Fuxin Zhang <zhangfx@lemote.com>
In-reply-to: <1181112773336-git-send-email-tiansm@lemote.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <11811127722019-git-send-email-tiansm@lemote.com> <1181112773336-git-send-email-tiansm@lemote.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
On Wed, Jun 06, 2007 at 02:52:41PM +0800, tiansm@lemote.com wrote:

> diff --git a/include/asm-mips/addrspace.h b/include/asm-mips/addrspace.h
> index 964c5ed..a4d9a07 100644
> --- a/include/asm-mips/addrspace.h
> +++ b/include/asm-mips/addrspace.h
> @@ -145,7 +145,7 @@
>  #define TO_PHYS_MASK _CONST64_(0x000000ffffffffff)   /* 2^^40 - 1 */
>  #endif
>  
> -#if defined (CONFIG_CPU_R10000)
> +#if defined (CONFIG_CPU_R10000) || defined (CONFIG_CPU_LOONGSON2)
>  #define TO_PHYS_MASK _CONST64_(0x000000ffffffffff)   /* 2^^40 - 1 */
>  #endif

I've already previously rejected this patch, see
http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20070418120240.GD3938%40linux-mips.org
for why.

Anyway, I've implemented the suggested fix for the -queue tree, so you
can drop this one from your patch queue.

  Ralf

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