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; Thu, 30 Apr 2009
 16:54:36 -0700
Received: from psmtp.com ([64.18.0.46]) by mail.onstor.com with Microsoft
 SMTPSVC(6.0.3790.3959);	 Thu, 30 Apr 2009 16:54:35 -0700
Received: from source ([213.58.128.207]) by exprod5mx200.postini.com
 ([64.18.4.11]) with SMTP;	Thu, 30 Apr 2009 16:54:35 PDT
Received: from localhost.localdomain ([127.0.0.1]:36874 "EHLO
	ftp.linux-mips.org" rhost-flags-OK-OK-OK-FAIL) by ftp.linux-mips.org	with
 ESMTP id S20026841AbZD3XyX (ORCPT	<rfc822;andy.sharp@onstor.com>); Fri, 1 May
 2009 00:54:23 +0100
Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 01 May 2009 00:54:06
 +0100 (BST)
Received: from BISCAYNE-ONE-STATION.MIT.EDU ([18.7.7.80]:60448 "EHLO
	biscayne-one-station.mit.edu" rhost-flags-OK-OK-OK-OK)	by ftp.linux-mips.org
 with ESMTP id S20026838AbZD3XyA (ORCPT	<rfc822;linux-mips@linux-mips.org>);
 Fri, 1 May 2009 00:54:00 +0100
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])	by
 biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id n3UNrWHT016874;
	Thu, 30 Apr 2009 19:53:33 -0400 (EDT)
Received: from localhost (c-67-186-133-195.hsd1.ma.comcast.net
 [67.186.133.195])	(authenticated bits=0)        (User authenticated as
 tabbott@ATHENA.MIT.EDU)	by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id
 n3UNrVn7011398;	Thu, 30 Apr 2009 19:53:32 -0400 (EDT)
From: Tim Abbott <tabbott@MIT.EDU>
To: Sam Ravnborg <sam@ravnborg.org>
CC: Linux kernel mailing list <linux-kernel@vger.kernel.org>, Anders Kaseorg
	<andersk@mit.edu>, Waseem Daher <wdaher@mit.edu>, Denys Vlasenko
	<vda.linux@googlemail.com>, Jeff Arnold <jbarnold@mit.edu>, Ralf Baechle
	<ralf@linux-mips.org>, "linux-mips@linux-mips.org"
	<linux-mips@linux-mips.org>, Tim Abbott <tabbott@mit.edu>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Thu, 30 Apr 2009 16:53:27 -0700
Subject: [PATCH 1/4] mips: use NOSAVE_DATA macro for .data.nosave section.
Thread-Topic: [PATCH 1/4] mips: use NOSAVE_DATA macro for .data.nosave
 section.
Thread-Index: AcnJ7wRzPyyIcoDlTNqiBa/VqpkWCg==
Message-ID: <1241135610-9012-2-git-send-email-tabbott@mit.edu>
References: <1241135610-9012-1-git-send-email-tabbott@mit.edu>
In-Reply-To: <1241135610-9012-1-git-send-email-tabbott@mit.edu>
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: 30 Apr 2009 23:54:35.0859 (UTC)
 FILETIME=[04054230:01C9C9EF]
x-ems-stamp: Wv+5bUYcofvezcYPft6s6g==
x-ems-proccessed: 2K3Xl1OQTInXD6xxuA8z3Q==
x-scanned-by: MIMEDefang 2.42
errors-to: linux-mips-bounce@linux-mips.org
x-pstn-neptune: 3/1/0.33/73
x-pstn-levels: (S:99.90000/99.90000 CV:99.9000 FC:95.5390 LC:95.5390
 R:95.9108 P:95.9108 M:97.0282 C:98.6951 )
x-list: linux-mips
x-archive-position: 22577
x-ecartis-version: Ecartis v1.0.0
x-original-sender: tabbott@MIT.EDU
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

This has the consequence of replacing the alignment of _PAGE_SIZE with
an alignment of PAGE_SIZE.  I believe these have the same value.

.data.nosave should not need a separate output section; this change
moves it into the .data section.

Signed-off-by: Tim Abbott <tabbott@mit.edu>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
---
 arch/mips/kernel/vmlinux.lds.S |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.=
S
index 58738c8..2a6a995 100644
--- a/arch/mips/kernel/vmlinux.lds.S
+++ b/arch/mips/kernel/vmlinux.lds.S
@@ -78,7 +78,7 @@ SECTIONS
 		 */
 		. =3D ALIGN(_PAGE_SIZE);
 		*(.data.init_task)
-
+		NOSAVE_DATA
 		DATA_DATA
 		CONSTRUCTORS
 	}
@@ -96,14 +96,6 @@ SECTIONS
 		*(.sdata)
 	}
=20
-	. =3D ALIGN(_PAGE_SIZE);
-	.data_nosave : {
-		__nosave_begin =3D .;
-		*(.data.nosave)
-	}
-	. =3D ALIGN(_PAGE_SIZE);
-	__nosave_end =3D .;
-
 	. =3D ALIGN(1 << CONFIG_MIPS_L1_CACHE_SHIFT);
 	.data.cacheline_aligned : {
 		*(.data.cacheline_aligned)
--=20
1.6.2.1


