From patchwork Sat May 24 07:02:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 30874 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f199.google.com (mail-ig0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 068FD2066E for ; Sat, 24 May 2014 07:04:41 +0000 (UTC) Received: by mail-ig0-f199.google.com with SMTP id c1sf4793536igq.6 for ; Sat, 24 May 2014 00:04:41 -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=6bAlX7Ws38agr//g5vkLnPzl8GwOA71gj/Macvi41yA=; b=mQPAx5IjPn5lChFkDbWnWtRaEQOZhQ3H5YjBNuRkpqkiK3D71DRjlqyYC1T0t9adhT Wnq8Z3WuH6sKUMcHyHp3Rlhu6muTrAktvGl0kdF0BeNc6+5GnVtQlJSTZQS5jhjYFLnv mf3DRvMa0bJBViZyQYxSORezln/IXqWAJ5zI2I9/frfdWdZKJe39fwupMrQQub0S0y+X hWcyMyfg10OfYgIUGGrP6Xlu62+WYPnYssXMtwQr0GXVz5Fmh/l5loo2en3Kj6fKtqZi e9c80HMQ5L9msUjcL8e/I9OyCrxTSkaZuDR0WsUN/MEK+cCv5sTDYXdPFIGOuUjmOCLG /rGw== X-Gm-Message-State: ALoCoQmd0AVFe8Mh7UdKP1+klgFw8bP0xDUNfpaTM5tCxV8O1fGy3irViwU1W3APCfEUEbzgmAb2 X-Received: by 10.43.117.71 with SMTP id fl7mr4085854icc.24.1400915081501; Sat, 24 May 2014 00:04:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.23.7 with SMTP id 7ls2104185qgo.60.gmail; Sat, 24 May 2014 00:04:41 -0700 (PDT) X-Received: by 10.220.133.197 with SMTP id g5mr8586494vct.20.1400915081418; Sat, 24 May 2014 00:04:41 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id js1si3081468veb.3.2014.05.24.00.04.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 24 May 2014 00:04:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id oy12so7359084veb.10 for ; Sat, 24 May 2014 00:04:41 -0700 (PDT) X-Received: by 10.220.69.72 with SMTP id y8mr8541925vci.21.1400915081354; Sat, 24 May 2014 00:04:41 -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 ib8csp87458vcb; Sat, 24 May 2014 00:04:40 -0700 (PDT) X-Received: by 10.68.225.133 with SMTP id rk5mr12030252pbc.98.1400915080463; Sat, 24 May 2014 00:04:40 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si6778891pbw.214.2014.05.24.00.04.39 for ; Sat, 24 May 2014 00:04:39 -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 S1751917AbaEXHEM (ORCPT + 27 others); Sat, 24 May 2014 03:04:12 -0400 Received: from mail-ig0-f172.google.com ([209.85.213.172]:38283 "EHLO mail-ig0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751388AbaEXHCZ (ORCPT ); Sat, 24 May 2014 03:02:25 -0400 Received: by mail-ig0-f172.google.com with SMTP id uy17so1472516igb.5 for ; Sat, 24 May 2014 00:02:24 -0700 (PDT) X-Received: by 10.50.62.51 with SMTP id v19mr9961967igr.21.1400914944457; Sat, 24 May 2014 00:02:24 -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 q2sm4688272ign.2.2014.05.24.00.02.22 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 24 May 2014 00:02:23 -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 s4O72LRW009778 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sat, 24 May 2014 00:02:21 -0700 Received: (from apinski@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id s4O72LSk009777; Sat, 24 May 2014 00:02:21 -0700 From: Andrew Pinski To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Andrew Pinski Subject: [PATCH 09/24] ARM64:ILP32: Use the same syscall names as LP64. Date: Sat, 24 May 2014 00:02:04 -0700 Message-Id: <1400914939-9708-10-git-send-email-apinski@cavium.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1400914939-9708-1-git-send-email-apinski@cavium.com> References: <1400914939-9708-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: 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.179 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 | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm64/include/uapi/asm/unistd.h b/arch/arm64/include/uapi/asm/unistd.h index 1caadc2..067eab0 100644 --- a/arch/arm64/include/uapi/asm/unistd.h +++ b/arch/arm64/include/uapi/asm/unistd.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2012 ARM Ltd. + * Copyright (C) 2014 Cavium Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -13,4 +14,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + +/* For ILP32 AARCH64, we want to use the non compat names. */ +#if defined(__aarch64__) && defined(__ILP32__) +#define __SYSCALL_NONCOMPAT +#endif + #include