From patchwork Wed Sep 3 21:19:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 36647 Return-Path: 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 1BB24202E4 for ; Wed, 3 Sep 2014 21:22:05 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id m1sf48257583oag.3 for ; Wed, 03 Sep 2014 14:22:04 -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:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=qPtVm84ah31LFKPWMwS5IFPHbygSvC6SJO8jL0m0klM=; b=c0mJnwaK/h/p/286g316IYqP+igPHL2iQ3AS8uzOpX9EXOft4u2WKcUyQ1Wqpfnips 5wBilZA1nQdS3d99ZWeGzzgyxP9pbH8wKlmjK1fyrHpMQgz4zXU6q3Y2mGw2lHYB96xd CDfj6wXyNa5eP6van+aYKlhnhNQxkb67YMdVEY3T8ddy08Y743vR/Beyhl4AXe522Kdl FGcH1p1LjIra0BBidTpKGnri381ossJUTO9b5J5ibiLalRO2mwWJC2740K7LEgNHvojW uVMmk8fmDTEh7Nnk9LamAcHpKT5fu2AU0fEaC8KaiOaNLtq9wqI6t/io1Ts01XWzpcFF CRqA== X-Gm-Message-State: ALoCoQnnhMi1pkot8oPYuPtMkPHCgp4JrwGKe4uw1vswBlfcxNIgRPzdBsKBOf1V3HA8nX9SmMXw X-Received: by 10.43.71.81 with SMTP id yj17mr84346icb.26.1409779324694; Wed, 03 Sep 2014 14:22:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.36.105 with SMTP id o96ls17078qgo.35.gmail; Wed, 03 Sep 2014 14:22:04 -0700 (PDT) X-Received: by 10.221.21.201 with SMTP id qt9mr144441vcb.39.1409779324576; Wed, 03 Sep 2014 14:22:04 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id t9si4467092vcy.1.2014.09.03.14.22.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Sep 2014 14:22:04 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id im17so9617452vcb.32 for ; Wed, 03 Sep 2014 14:22:04 -0700 (PDT) X-Received: by 10.220.118.136 with SMTP id v8mr63212vcq.50.1409779324414; Wed, 03 Sep 2014 14:22:04 -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.221.45.67 with SMTP id uj3csp740270vcb; Wed, 3 Sep 2014 14:22:03 -0700 (PDT) X-Received: by 10.70.64.166 with SMTP id p6mr454111pds.139.1409779323587; Wed, 03 Sep 2014 14:22:03 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d7si4181944pdf.132.2014.09.03.14.22.01 for ; Wed, 03 Sep 2014 14:22:02 -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 S1756713AbaICVUg (ORCPT + 26 others); Wed, 3 Sep 2014 17:20:36 -0400 Received: from mail-ie0-f181.google.com ([209.85.223.181]:53475 "EHLO mail-ie0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756523AbaICVT2 (ORCPT ); Wed, 3 Sep 2014 17:19:28 -0400 Received: by mail-ie0-f181.google.com with SMTP id rp18so10456871iec.40 for ; Wed, 03 Sep 2014 14:19:27 -0700 (PDT) X-Received: by 10.50.93.105 with SMTP id ct9mr170286igb.28.1409779167717; Wed, 03 Sep 2014 14:19:27 -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 m4sm6479274igr.20.2014.09.03.14.19.25 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 03 Sep 2014 14:19:26 -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 s83LJOMX031047 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Wed, 3 Sep 2014 14:19:24 -0700 Received: (from apinski@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id s83LJOeN031046; Wed, 3 Sep 2014 14:19:24 -0700 From: Andrew Pinski To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, pinskia@gmail.com Cc: Andrew Pinski Subject: [PATCH 09/24] ARM64:ILP32: Use the same syscall names as LP64 Date: Wed, 3 Sep 2014 14:19:03 -0700 Message-Id: <1409779158-30963-10-git-send-email-apinski@cavium.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1409779158-30963-1-git-send-email-apinski@cavium.com> References: <1409779158-30963-1-git-send-email-apinski@cavium.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: 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.220.173 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: , List-Help: , List-Archive: List-Unsubscribe: , Define __SYSCALL_NONCOMPAT so we use the 64bit naming scheme for ILP32. Signed-off-by: Andrew Pinski --- arch/arm64/include/uapi/asm/unistd.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm64/include/uapi/asm/unistd.h b/arch/arm64/include/uapi/asm/unistd.h index 1caadc2..13cbf8d 100644 --- a/arch/arm64/include/uapi/asm/unistd.h +++ b/arch/arm64/include/uapi/asm/unistd.h @@ -13,4 +13,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + +/* For ILP32, we want to use the non compat names. */ +#if defined(__ILP32__) +#define __ARCH_WANT_64BIT_SYSCALLS +#endif + #include