From patchwork Sun Jul 15 02:44:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Domenico Andreoli X-Patchwork-Id: 1198391 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 32F6F3FC4C for ; Sun, 15 Jul 2012 03:03:08 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SqF0k-0002Jz-1u; Sun, 15 Jul 2012 02:56:47 +0000 Received: from mail-wg0-f49.google.com ([74.125.82.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SqEqe-0008VP-Pa for linux-arm-kernel@lists.infradead.org; Sun, 15 Jul 2012 02:46:37 +0000 Received: by wgbez12 with SMTP id ez12so2630986wgb.18 for ; Sat, 14 Jul 2012 19:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:user-agent:date:from:to:cc:subject:references :content-disposition; bh=9xZeBc8ftFeGWmTbnhFGJ8ig/jLwJZFCbyKuARFAI1M=; b=ovmNqYg4HxV8foxSSOVLP50fv3pMSOECrNuX6ZH6gSyUJl5KoBvQ9fH53RBPDn4Wni n6d/i0xtLLO/EHOHjvSAPxtq6Tit+yTB+Oq2kMV4Irsa7CgGeJikGsQvR3qzr702Dw/Z bDSELEKeIIWCKW1oU54sG9Ij+2kIjMG5ykVOPf3RHsJbJ2mGGSB5EvKjvg0NXcKBw1Z7 HdLvpLV8I4JxqjRosK4SJe6HL3CpqN7xR1oJJRytEaM6BbcOhYEDfUoaLjPJ1nHWZese fpAXozx4fcbgWe8qhOnCNfR3QlbXAdcAQZ6PoytZIrrx19TGsvcx70ZEx3rS7A9yKfJS 7rag== Received: by 10.216.141.213 with SMTP id g63mr3692321wej.34.1342320371538; Sat, 14 Jul 2012 19:46:11 -0700 (PDT) Received: from raptus.dandreoli.com (178-85-163-250.dynamic.upc.nl. [178.85.163.250]) by mx.google.com with ESMTPS id fb20sm19286122wid.1.2012.07.14.19.46.10 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 14 Jul 2012 19:46:10 -0700 (PDT) Received: by raptus.dandreoli.com (Postfix, from userid 1000) id 1B2C037BA03; Sun, 15 Jul 2012 04:46:10 +0200 (CEST) Message-Id: <20120715024609.826903502@gmail.com> User-Agent: quilt/0.60-1 Date: Sun, 15 Jul 2012 04:44:14 +0200 From: Domenico Andreoli To: linux-arm-kernel@lists.infradead.org Subject: [RFC PATCH 06/12] ARM: Work around OMAPs arch_decomp_setup() References: <20120715024408.747946928@gmail.com> Content-Disposition: inline; filename=decomp-arch-omap-hack.patch X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (cavokz[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.49 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Domenico Andreoli , Russell King - ARM Linux , Arnd Bergmann X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Domenico Andreoli This patch is required to not break OMAP, which wants arch_id but doesn't use it. Separate fix has been already mailed but not yet merged hence the hack. Signed-off-by: Domenico Andreoli --- arch/arm/boot/compressed/misc.c | 4 ++++ 1 file changed, 4 insertions(+) Index: b/arch/arm/boot/compressed/misc.c =================================================================== --- a/arch/arm/boot/compressed/misc.c +++ b/arch/arm/boot/compressed/misc.c @@ -105,6 +105,10 @@ void fallback_arch_error(char *x) void fallback_arch_setup(void) { + unsigned int arch_id; + + /* hack around plat-omap using arch_id instead of __machine_arch_type */ + arch_id = __machine_arch_type; arch_decomp_setup(); }