Received: from mail.onstor.com (66.201.51.107) by exch1.onstor.net
 (10.0.0.225) with Microsoft SMTP Server id 8.1.311.2; Fri, 20 Mar 2009
 12:11:33 -0700
Received: from psmtp.com ([64.18.0.56]) by mail.onstor.com with Microsoft
 SMTPSVC(6.0.3790.3959);	 Fri, 20 Mar 2009 12:11:33 -0700
Received: from source ([213.58.128.207]) by exprod5mx260.postini.com
 ([64.18.4.13]) with SMTP;	Fri, 20 Mar 2009 15:11:33 EDT
Received: from localhost.localdomain ([127.0.0.1]:56709 "EHLO
	ftp.linux-mips.org") by ftp.linux-mips.org with ESMTP	id S21369890AbZCTTLF
 (ORCPT <rfc822;andy.sharp@onstor.com>);	Fri, 20 Mar 2009 19:11:05 +0000
Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 20 Mar 2009 19:10:48
 +0000 (GMT)
Received: from apollo.i-cable.com ([203.83.115.103]:29648 "HELO
	apollo.i-cable.com") by ftp.linux-mips.org with SMTP	id S21369896AbZCTTKm
 (ORCPT <rfc822;linux-mips@linux-mips.org>);	Fri, 20 Mar 2009 19:10:42 +0000
Received: (qmail 22764 invoked by uid 508); 20 Mar 2009 19:10:34 -0000
Received: from 203.83.114.122 by apollo (envelope-from <r0bertz@gentoo.org>,
 uid 505) with qmail-scanner-1.25  (clamdscan: 0.93.3/7730.
   Clear:RC:1(203.83.114.122):.  Processed in 0.161682 secs); 20 Mar 2009
 19:10:34 -0000
Received: from ip114122.hkicable.com (HELO xenon.i-cable.com) (203.83.114.122)
  by 0 with SMTP; 20 Mar 2009 19:10:34 -0000
Received: from localhost.localdomain (cm222-167-208-75.hkcable.com.hk
 [222.167.208.75])	by xenon.i-cable.com (8.13.5/8.13.5) with ESMTP id
 n2KJAW9w028117;	Sat, 21 Mar 2009 03:10:33 +0800 (CST)
From: Zhang Le <r0bertz@gentoo.org>
To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
CC: Zhang Le <r0bertz@gentoo.org>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Fri, 20 Mar 2009 12:10:20 -0700
Subject: [PATCH] MIPS: rename CPU_LOONGSON2 to CPU_LOONGSON2E
Thread-Topic: [PATCH] MIPS: rename CPU_LOONGSON2 to CPU_LOONGSON2E
Thread-Index: Acmpj67zlM77+sK0TlCeXle07OZV5w==
Message-ID: <1237576220-4479-1-git-send-email-r0bertz@gentoo.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 0b
X-MS-Exchange-Organization-AuthSource: exch1.onstor.net
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-TNEF-Correlator:
x-originalarrivaltime: 20 Mar 2009 19:11:33.0298 (UTC)
 FILETIME=[AEB05920:01C9A98F]
errors-to: linux-mips-bounce@linux-mips.org
x-pstn-levels: (S:67.83434/99.90000 CV:99.9000 FC:95.5390 LC:95.5390
 R:95.9108 P:95.9108 M:97.0282 C:98.6951 )
x-pstn-neptune: 0/0/0.00/0
x-ems-proccessed: 2K3Xl1OQTInXD6xxuA8z3Q==
x-ems-stamp: veJfwjY+2dQEhwdmFFfKzg==
x-list: linux-mips
x-archive-position: 22101
x-ecartis-version: Ecartis v1.0.0
x-original-sender: r0bertz@gentoo.org
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

This is for future inclusion of Loongson 2F patches. Because Gcc 4.4 (not
released yet) has different -march argument for these two CPUs, we should
be able to distinguish them.

Signed-off-by: Zhang Le <r0bertz@gentoo.org>
---
 arch/mips/Kconfig  |    4 ++--
 arch/mips/Makefile |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 206cb79..dcb675d 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1014,8 +1014,8 @@ choice
 	prompt "CPU type"
 	default CPU_R4X00
=20
-config CPU_LOONGSON2
-	bool "Loongson 2"
+config CPU_LOONGSON2E
+	bool "Loongson 2E"
 	depends on SYS_HAS_CPU_LOONGSON2
 	select CPU_SUPPORTS_32BIT_KERNEL
 	select CPU_SUPPORTS_64BIT_KERNEL
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 22dab2e..097a7fa 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -119,7 +119,7 @@ cflags-$(CONFIG_CPU_R4300)	+=3D -march=3Dr4300 -Wa,--tr=
ap
 cflags-$(CONFIG_CPU_VR41XX)	+=3D -march=3Dr4100 -Wa,--trap
 cflags-$(CONFIG_CPU_R4X00)	+=3D -march=3Dr4600 -Wa,--trap
 cflags-$(CONFIG_CPU_TX49XX)	+=3D -march=3Dr4600 -Wa,--trap
-cflags-$(CONFIG_CPU_LOONGSON2)	+=3D -march=3Dr4600 -Wa,--trap
+cflags-$(CONFIG_CPU_LOONGSON2E)	+=3D -march=3Dr4600 -Wa,--trap
 cflags-$(CONFIG_CPU_MIPS32_R1)	+=3D $(call cc-option,-march=3Dmips32,-mips=
32 -U_MIPS_ISA -D_MIPS_ISA=3D_MIPS_ISA_MIPS32) \
 			-Wa,-mips32 -Wa,--trap
 cflags-$(CONFIG_CPU_MIPS32_R2)	+=3D $(call cc-option,-march=3Dmips32r2,-mi=
ps32r2 -U_MIPS_ISA -D_MIPS_ISA=3D_MIPS_ISA_MIPS32) \
--=20
1.6.2


