Message ID | 1400914905-9594-3-git-send-email-apinski@cavium.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCHZN4WEQUCBB7EHQGOAKGQEBSUOYWQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3FCBD20676 for <linaro@patches.linaro.org>; Sat, 24 May 2014 07:02:20 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id ij19sf20348897vcb.9 for <linaro@patches.linaro.org>; Sat, 24 May 2014 00:02:20 -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:in-reply-to:references:to:to:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=RGT25A9wfufm5dHGK3URlt53LZ109j9XDWWt0HIV+DU=; b=JdPcTGsOi5DVhHZE8+EH9RQeCjTmcLdvOx2HhP9NHYnUD1iNdAnqCneIKJNhkcrU26 hanfd09LSdMYV4w5RedxM5RrHshF2w93OORhdOXjx3qHQ3RtVltMPNYrvbmCB6lUynov 6fHfwJgYZ6zoPkvEE3Nys+uNRbU+Hn5WRP1utK0UlpbJrA/ojwS5OKsTQeliI+npFrt4 oNFdsG9jb5UmhAtv/iCEpTKVdYbnNJXkZmdQ4eI2HxEUn6Jgm58ZSUMlI4+yf+sZdEFK rbsV8dffTTubkzCwHh7iuLyFiGQZVboqfpj/kYb3TLBu+cpCH5bFQaeBznRliabdlCZi Qusg== X-Gm-Message-State: ALoCoQlxXhCZWkVhogW4qpfYwgNou/sJAtfrqUyp2iwoiMd0VJH4HXM/D3AxbaMGs6yEgoXD5XkA X-Received: by 10.58.236.5 with SMTP id uq5mr4021381vec.35.1400914940084; Sat, 24 May 2014 00:02:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.29.4 with SMTP id a4ls2107064qga.45.gmail; Sat, 24 May 2014 00:02:20 -0700 (PDT) X-Received: by 10.58.161.168 with SMTP id xt8mr8431789veb.25.1400914939987; Sat, 24 May 2014 00:02:19 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id sb3si3064421vdc.24.2014.05.24.00.02.19 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 24 May 2014 00:02:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.172 as permitted sender) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id oz11so7247170veb.31 for <patchwork-forward@linaro.org>; Sat, 24 May 2014 00:02:19 -0700 (PDT) X-Received: by 10.221.24.207 with SMTP id rf15mr8522706vcb.17.1400914939899; Sat, 24 May 2014 00:02:19 -0700 (PDT) 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.221.72 with SMTP id ib8csp87329vcb; Sat, 24 May 2014 00:02:19 -0700 (PDT) X-Received: by 10.66.164.201 with SMTP id ys9mr11988979pab.40.1400914939088; Sat, 24 May 2014 00:02:19 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pi1si6840504pbb.62.2014.05.24.00.02.18 for <sandeep.tripathy@linaro.org>; Sat, 24 May 2014 00:02:18 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751282AbaEXHCG (ORCPT <rfc822;sandeep.tripathy@linaro.org> + 27 others); Sat, 24 May 2014 03:02:06 -0400 Received: from mail-ig0-f174.google.com ([209.85.213.174]:43797 "EHLO mail-ig0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751203AbaEXHCD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 24 May 2014 03:02:03 -0400 Received: by mail-ig0-f174.google.com with SMTP id h3so1475976igd.1 for <linux-kernel@vger.kernel.org>; Sat, 24 May 2014 00:02:02 -0700 (PDT) X-Received: by 10.50.122.67 with SMTP id lq3mr10099246igb.8.1400914922457; Sat, 24 May 2014 00:02:02 -0700 (PDT) Received: from localhost.localdomain (64.2.3.195.ptr.us.xo.net. [64.2.3.195]) by mx.google.com with ESMTPSA id vu3sm10008656igc.6.2014.05.24.00.02.01 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 24 May 2014 00:02:02 -0700 (PDT) Received: from localhost.localdomain (apinskidesktop [127.0.0.1]) by localhost.localdomain (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4O720k3009694 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sat, 24 May 2014 00:02:00 -0700 Received: (from apinski@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id s4O720MY009692; Sat, 24 May 2014 00:02:00 -0700 From: Andrew Pinski <apinski@cavium.com> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Andrew Pinski <apinski@cavium.com> Subject: [PATCH 02/24] ARM64: Rename COMPAT to AARCH32_EL0 in Kconfig. Date: Sat, 24 May 2014 00:01:23 -0700 Message-Id: <1400914905-9594-3-git-send-email-apinski@cavium.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1400914905-9594-1-git-send-email-apinski@cavium.com> References: <1400914905-9594-1-git-send-email-apinski@cavium.com> To: linux-arm-kernel@lists.infradead.org To: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: apinski@cavium.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.172 as permitted sender) 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 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/arm64/Kconfig b/arch/arm64/Kconfig index e759af5..032c712 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -287,9 +287,13 @@ menu "Userspace binary formats" source "fs/Kconfig.binfmt" config COMPAT + def_bool y + depends on AARCH32_EL0 + select COMPAT_BINFMT_ELF + +config AARCH32_EL0 bool "Kernel support for 32-bit EL0" depends on !ARM64_64K_PAGES - select COMPAT_BINFMT_ELF select HAVE_UID16 select OLD_SIGSUSPEND3 select COMPAT_OLD_SIGACTION @@ -303,7 +307,7 @@ config COMPAT config SYSVIPC_COMPAT def_bool y - depends on COMPAT && SYSVIPC + depends on AARCH32_EL0 && SYSVIPC endmenu
We want to split CONFIG_COMPAT so we can use the COMPAT interface in some cases including for compat binfmt. Thanks, Andrew Pinski Signed-off-by: Andrew Pinski <apinski@cavium.com> --- arch/arm64/Kconfig | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)