From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755969AbZHNLcG (ORCPT ); Fri, 14 Aug 2009 07:32:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755825AbZHNLbZ (ORCPT ); Fri, 14 Aug 2009 07:31:25 -0400 Received: from mtagate4.de.ibm.com ([195.212.29.153]:46848 "EHLO mtagate4.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755543AbZHNL0W (ORCPT ); Fri, 14 Aug 2009 07:26:22 -0400 Message-Id: <20090814112618.435817150@de.ibm.com> References: <20090814112517.982007860@de.ibm.com> User-Agent: quilt/0.46-1 Date: Fri, 14 Aug 2009 13:25:42 +0200 From: Martin Schwidefsky To: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Cc: Heiko Carstens , Tim Abbott , Martin Schwidefsky , Cyrill Gorcunov , Sam Ravnborg Subject: [patch 25/34] Use macros for .data.page_aligned. Content-Disposition: inline; filename=124-vmlinux-lds-1.diff Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tim Abbott .data.page_aligned should not need a separate output section, so as part of this cleanup I moved into the .data output section in the linker scripts in order to eliminate unnecessary references to the section name. Remove the reference to .data.idt, since nothing is put into the .data.idt section on the s390 architecture. It looks like Cyrill Gorcunov posted a patch to remove the .data.idt code on s390 previously: CCing him and the people who acked that patch in case there's a reason it wasn't applied. Signed-off-by: Tim Abbott Cc: Martin Schwidefsky Acked-by: Cyrill Gorcunov Cc: Sam Ravnborg --- arch/s390/kernel/vmlinux.lds.S | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) Index: quilt-2.6/arch/s390/kernel/vmlinux.lds.S =================================================================== --- quilt-2.6.orig/arch/s390/kernel/vmlinux.lds.S +++ quilt-2.6/arch/s390/kernel/vmlinux.lds.S @@ -60,6 +60,7 @@ SECTIONS } :data .data : { /* Data */ + PAGE_ALIGNED_DATA(PAGE_SIZE) DATA_DATA CONSTRUCTORS } @@ -72,11 +73,6 @@ SECTIONS . = ALIGN(PAGE_SIZE); __nosave_end = .; - . = ALIGN(PAGE_SIZE); - .data.page_aligned : { - *(.data.idt) - } - . = ALIGN(0x100); .data.cacheline_aligned : { *(.data.cacheline_aligned) -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.