From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758700AbZJMBdv (ORCPT ); Mon, 12 Oct 2009 21:33:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758687AbZJMBdt (ORCPT ); Mon, 12 Oct 2009 21:33:49 -0400 Received: from BISCAYNE-ONE-STATION.MIT.EDU ([18.7.7.80]:41770 "EHLO biscayne-one-station.mit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758685AbZJMBdr (ORCPT ); Mon, 12 Oct 2009 21:33:47 -0400 From: Tim Abbott To: Greg Ungerer Cc: linux-kernel@vger.kernel.org, Sam Ravnborg , Tim Abbott Subject: [PATCH v3 1/7] m68knommu: Don't hardcode the value of PAGE_SIZE in the linker script. Date: Mon, 12 Oct 2009 21:30:07 -0400 Message-Id: <1255397413-4862-2-git-send-email-tabbott@ksplice.com> X-Mailer: git-send-email 1.6.4.3 In-Reply-To: <1255397413-4862-1-git-send-email-tabbott@ksplice.com> References: <4AD3BFD8.90408@snapgear.com> <1255397413-4862-1-git-send-email-tabbott@ksplice.com> X-Spam-Flag: NO X-Spam-Score: 0.00 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Tim Abbott --- arch/m68knommu/kernel/vmlinux.lds.S | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/m68knommu/kernel/vmlinux.lds.S b/arch/m68knommu/kernel/vmlinux.lds.S index 2736a5e..edc20bd 100644 --- a/arch/m68knommu/kernel/vmlinux.lds.S +++ b/arch/m68knommu/kernel/vmlinux.lds.S @@ -8,6 +8,7 @@ */ #include +#include #if defined(CONFIG_RAMKERNEL) #define RAM_START CONFIG_KERNELBASE @@ -155,7 +156,7 @@ SECTIONS { } > DATA .init : { - . = ALIGN(4096); + . = ALIGN(PAGE_SIZE); __init_begin = .; _sinittext = .; INIT_TEXT @@ -180,7 +181,7 @@ SECTIONS { *(.init.ramfs) __initramfs_end = .; #endif - . = ALIGN(4096); + . = ALIGN(PAGE_SIZE); __init_end = .; } > INIT -- 1.6.4.3