Message ID | 1393331939-31289-2-git-send-email-ard.biesheuvel@linaro.org |
---|---|
State | Accepted |
Commit | 66d6e3b385778c2eef3b172a037235516207393e |
Headers | show
Return-Path: <patchwork-forward+bncBDYNJBOFRECBBG46WKMAKGQETBMAKFQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 14F2520543 for <linaro@patches.linaro.org>; Tue, 25 Feb 2014 12:39:55 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id i4sf1302473oah.11 for <linaro@patches.linaro.org>; Tue, 25 Feb 2014 04:39:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=/UwwVm4R8vn6Hnea2VXnYHbV8swyISp5Dl1FMF45KjI=; b=C6o3GqXixgo4Q133mpg3JheQgyKX7tM8UXMUMwtEbBdA+kvsrPUO9CHqlK4FrNaL7B gNFKb7yK/DwEo8nM//FJKQoxpFSNsDWvzqlLQ3zlA9AWq/bWjPNrlRWdRphB7NsdlLV/ ojwWhpSZ3IWkW1PEwHuJSiIwfROshL0T9DV2/Bpi84U4IlzRzcqGwEUPT2H4JCJ2b9OO lmtkfXHUmFlSpzS9mQE+R5IDZOfGZzj7biEkiicHg/lFv4UzqTpDVTiKBMdoB73LVp2H gpidFof0IwAD9t1IYzVEMuiYP1p0fhXyfuqbc+Ov8ZVMd0M4WpYJmM9CbevUsUXOvdt5 kOow== X-Gm-Message-State: ALoCoQlbZFsP0ewl+S+vbsEWs9rg87vp3ehitRxYpucVSP67n9PLURr4WfBgNtMgo6hgPrt3Pg7B X-Received: by 10.42.28.2 with SMTP id l2mr11744414icc.20.1393331995581; Tue, 25 Feb 2014 04:39:55 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.84.239 with SMTP id l102ls910848qgd.5.gmail; Tue, 25 Feb 2014 04:39:55 -0800 (PST) X-Received: by 10.220.191.134 with SMTP id dm6mr1015181vcb.16.1393331995379; Tue, 25 Feb 2014 04:39:55 -0800 (PST) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id ja16si6762059vec.88.2014.02.25.04.39.55 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 04:39:55 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id jy13so333715veb.41 for <patchwork-forward@linaro.org>; Tue, 25 Feb 2014 04:39:55 -0800 (PST) X-Received: by 10.52.171.39 with SMTP id ar7mr756710vdc.5.1393331995257; Tue, 25 Feb 2014 04:39:55 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp135883vcz; Tue, 25 Feb 2014 04:39:54 -0800 (PST) X-Received: by 10.194.6.8 with SMTP id w8mr24786706wjw.16.1393331994265; Tue, 25 Feb 2014 04:39:54 -0800 (PST) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id k10si17728037wjb.29.2014.02.25.04.39.53 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Feb 2014 04:39:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WIHIN-0003wo-2P; Tue, 25 Feb 2014 12:39:35 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WIHIK-0000Ty-H5; Tue, 25 Feb 2014 12:39:32 +0000 Received: from mail-we0-f181.google.com ([74.125.82.181]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WIHIG-0000TD-IZ for linux-arm-kernel@lists.infradead.org; Tue, 25 Feb 2014 12:39:29 +0000 Received: by mail-we0-f181.google.com with SMTP id w61so327322wes.40 for <linux-arm-kernel@lists.infradead.org>; Tue, 25 Feb 2014 04:39:05 -0800 (PST) X-Received: by 10.180.211.239 with SMTP id nf15mr19555655wic.9.1393331945599; Tue, 25 Feb 2014 04:39:05 -0800 (PST) Received: from ards-macbook-pro.local (cag06-7-83-153-85-71.fbx.proxad.net. [83.153.85.71]) by mx.google.com with ESMTPSA id jw4sm50423292wjc.20.2014.02.25.04.39.04 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 04:39:05 -0800 (PST) From: Ard Biesheuvel <ard.biesheuvel@linaro.org> To: linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, peter.maydell@linaro.org Subject: [PATCH resend 1/3] binfmt_elf: add ELF_HWCAP2 to compat auxv entries Date: Tue, 25 Feb 2014 13:38:57 +0100 Message-Id: <1393331939-31289-2-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1393331939-31289-1-git-send-email-ard.biesheuvel@linaro.org> References: <1393331939-31289-1-git-send-email-ard.biesheuvel@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140225_073928_727685_69DFCBBE X-CRM114-Status: UNSURE ( 9.06 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.181 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] Cc: ryan.arnold@linaro.org, Ard Biesheuvel <ard.biesheuvel@linaro.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> 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-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ard.biesheuvel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/fs/compat_binfmt_elf.c b/fs/compat_binfmt_elf.c index a81147e2e4ef..4d24d17bcfc1 100644 --- a/fs/compat_binfmt_elf.c +++ b/fs/compat_binfmt_elf.c @@ -88,6 +88,11 @@ static void cputime_to_compat_timeval(const cputime_t cputime, #define ELF_HWCAP COMPAT_ELF_HWCAP #endif +#ifdef COMPAT_ELF_HWCAP2 +#undef ELF_HWCAP2 +#define ELF_HWCAP2 COMPAT_ELF_HWCAP2 +#endif + #ifdef COMPAT_ARCH_DLINFO #undef ARCH_DLINFO #define ARCH_DLINFO COMPAT_ARCH_DLINFO