From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ard Biesheuvel Subject: Re: [PATCH v2 2/5] binfmt_elf: add ELF_HWCAP2 to compat auxv entries Date: Wed, 5 Feb 2014 15:08:32 +0100 Message-ID: References: <1387807592-26375-1-git-send-email-ard.biesheuvel@linaro.org> <1387807592-26375-3-git-send-email-ard.biesheuvel@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Ard Biesheuvel , "linux-arm-kernel@lists.infradead.org" , Catalin Marinas To: "viro@zeniv.linux.org.uk" , linux-fsdevel@vger.kernel.org Return-path: Received: from mail-la0-f53.google.com ([209.85.215.53]:40498 "EHLO mail-la0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751063AbaBEOIe (ORCPT ); Wed, 5 Feb 2014 09:08:34 -0500 Received: by mail-la0-f53.google.com with SMTP id e16so346373lan.40 for ; Wed, 05 Feb 2014 06:08:33 -0800 (PST) In-Reply-To: <1387807592-26375-3-git-send-email-ard.biesheuvel@linaro.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hello Al, May we please have your Ack on this patch so it can go through one of the ARM trees? Thank you, Ard. On 23 December 2013 15:06, Ard Biesheuvel wrote: > Add ELF_HWCAP2 to the set of auxv entries that is passed to > a 32-bit ELF program running in 32-bit compat mode under a > 64-bit kernel. > > Signed-off-by: Ard Biesheuvel > Acked-by: Catalin Marinas > --- > fs/compat_binfmt_elf.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/fs/compat_binfmt_elf.c b/fs/compat_binfmt_elf.c > index a81147e..4d24d17 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 > -- > 1.8.3.2 >