Message ID | 1399385548-17892-1-git-send-email-daniel.thompson@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCAPDLF44QLBBYG3UONQKGQEM55DF5Y@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f198.google.com (mail-yk0-f198.google.com [209.85.160.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 02608202E6 for <linaro@patches.linaro.org>; Tue, 6 May 2014 14:12:48 +0000 (UTC) Received: by mail-yk0-f198.google.com with SMTP id 9sf5430097ykp.1 for <linaro@patches.linaro.org>; Tue, 06 May 2014 07:12:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=auXxWsgXH+7g6LLhzybisCf3Nt3Md+TvBP4ihmXbyaU=; b=DKGb5mKZj0YEQm2FOqbVUfYQT1wsKmnJjmg6K/4FVWlN8bjaYz/EdcRe+9MBDiYvlB XH7fidaxaoMqlCG5s2gUWc7p4ci1Gt3dz50Wx4i+IuFYz/pMHupa5nD7TVFUwQYLr6Q1 7ze9DLYZkDsgTHRrLcwmzgDM3j4Z2r/e6Yznr/ZQ/Ruwzi8kDxazkknKMx0SaNtKg8Vd VOYXY6vC5ZIWDJem9Q3xfRiCJ2UGa1uB7x1a97yT+6U8NxIP6IHIqMxdND7KeFj4OfP5 gzlWo1GD4kCFuvJw1EDbdc7dOn1zDD0hghvH0OffM9FztOnC0VKP5didfYWHcw3qQZn3 InIg== X-Gm-Message-State: ALoCoQmOgEtacAqiI9harjEM7ldOOytnyDdoC06tyyAcJxTezLrJ1/+EJAMfnzb5zF6ga1LyZI0B X-Received: by 10.58.105.105 with SMTP id gl9mr1129719veb.17.1399385568583; Tue, 06 May 2014 07:12:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.233 with SMTP id l96ls2942765qgl.90.gmail; Tue, 06 May 2014 07:12:48 -0700 (PDT) X-Received: by 10.58.216.163 with SMTP id or3mr9969vec.80.1399385568422; Tue, 06 May 2014 07:12:48 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id w5si2340782vcl.174.2014.05.06.07.12.48 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 May 2014 07:12:48 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id sa20so4424919veb.13 for <patchwork-forward@linaro.org>; Tue, 06 May 2014 07:12:48 -0700 (PDT) X-Received: by 10.52.2.229 with SMTP id 5mr27825082vdx.24.1399385568342; Tue, 06 May 2014 07:12:48 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp227001vcb; Tue, 6 May 2014 07:12:47 -0700 (PDT) X-Received: by 10.180.9.202 with SMTP id c10mr21232537wib.7.1399385567301; Tue, 06 May 2014 07:12:47 -0700 (PDT) Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by mx.google.com with ESMTPS id fm10si4562980wib.32.2014.05.06.07.12.46 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 May 2014 07:12:47 -0700 (PDT) Received-SPF: none (google.com: daniel.thompson@linaro.org does not designate permitted sender hosts) client-ip=74.125.82.172; Received: by mail-we0-f172.google.com with SMTP id k48so3377817wev.3 for <patches@linaro.org>; Tue, 06 May 2014 07:12:46 -0700 (PDT) X-Received: by 10.194.82.9 with SMTP id e9mr8147446wjy.45.1399385566734; Tue, 06 May 2014 07:12:46 -0700 (PDT) Received: from sundance.lan (cpc4-aztw19-0-0-cust157.18-1.cable.virginm.net. [82.33.25.158]) by mx.google.com with ESMTPSA id xm20sm24946556wib.19.2014.05.06.07.12.44 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 May 2014 07:12:45 -0700 (PDT) From: Daniel Thompson <daniel.thompson@linaro.org> To: Russell King <linux@arm.linux.org.uk> Cc: patches@linaro.org, linaro-kernel@lists.linaro.org, Daniel Thompson <daniel.thompson@linaro.org>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm: Describe required sort order for textofs-y (TEXT_OFFSET) Date: Tue, 6 May 2014 15:12:28 +0100 Message-Id: <1399385548-17892-1-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.0 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.thompson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 41c1931..6857fec 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -127,6 +127,9 @@ CHECKFLAGS += -D__arm__ #Default value head-y := arch/arm/kernel/head$(MMUEXT).o + +# Text offset. This list is sorted numerically by address in order to +# provide a means to avoid/resolve conflicts in multi-arch kernels. textofs-y := 0x00008000 textofs-$(CONFIG_ARCH_CLPS711X) := 0x00028000 # We don't want the htc bootloader to corrupt kernel during resume
The section of the makefile that determines the TEXT_OFFSET is sorted by address so that, in multi-arch kernel builds, the architecture with the most stringent requirements for the kernel base address gets to define TEXT_OFFSET. The comment should reflect that. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> --- arch/arm/Makefile | 3 +++ 1 file changed, 3 insertions(+)