From patchwork Tue Sep 29 22:14:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 54266 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id D4DC822B1E for ; Tue, 29 Sep 2015 22:17:14 +0000 (UTC) Received: by labjk1 with SMTP id jk1sf11786282lab.0 for ; Tue, 29 Sep 2015 15:17:13 -0700 (PDT) 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:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :spamdiagnosticoutput:spamdiagnosticmetadata:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=djttjQTR6ZrUF6TNErXM2NfZ++kT1NgIJpX9Wb2/KzU=; b=I6F/RWYfee716LU5FKFqmYDCeFWglLQ5nxZeHhd29DozPtSC0m2H9qKHc051h1Qkyv i3KOlyOfJ9xwvgi/9FWemyPHMpwESijzuf3QiiHEwsXKQAnEXyE81eO8/qBQ1WwvnWod jYonOrcjaYntj1lqQeN7FJY2WsRHUCK0aFHPcOip6ybNGr9ZmHOjyZetivtVqQiE+udd riDac4xhP2gmQQ+uPAn20RekoAgFg6XfsI9d6sPYRJ1ICrVBtSYYzVBAtto4QKBnPiGK 22GDthq1onT/N7O57yp2o9MYkz+yXhn26CMxLRNpJz+c0Rz4LbJdJZS3ESr4btV5s66W K5xw== X-Gm-Message-State: ALoCoQn6/NxRmeVTWOmTgcvxcnwwiePNUlTr5BtUjQu+nz8Etn9vbAmCdzNwRJSqG2jwSwj6pDkn X-Received: by 10.152.3.131 with SMTP id c3mr46680lac.4.1443565033721; Tue, 29 Sep 2015 15:17:13 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.160.75 with SMTP id j72ls4760lfe.106.gmail; Tue, 29 Sep 2015 15:17:13 -0700 (PDT) X-Received: by 10.112.132.1 with SMTP id oq1mr97143lbb.108.1443565033442; Tue, 29 Sep 2015 15:17:13 -0700 (PDT) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id wx8si11944207lbb.69.2015.09.29.15.17.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Sep 2015 15:17:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by laclj5 with SMTP id lj5so25386961lac.3 for ; Tue, 29 Sep 2015 15:17:13 -0700 (PDT) X-Received: by 10.152.5.133 with SMTP id s5mr98041las.19.1443565033305; Tue, 29 Sep 2015 15:17:13 -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.112.59.35 with SMTP id w3csp2397331lbq; Tue, 29 Sep 2015 15:17:12 -0700 (PDT) X-Received: by 10.66.252.35 with SMTP id zp3mr431541pac.43.1443565031980; Tue, 29 Sep 2015 15:17:11 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ba5si40511446pbb.193.2015.09.29.15.17.09; Tue, 29 Sep 2015 15:17:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756768AbbI2WRH (ORCPT + 30 others); Tue, 29 Sep 2015 18:17:07 -0400 Received: from mail-bn1bon0067.outbound.protection.outlook.com ([157.56.111.67]:4576 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754655AbbI2WQr (ORCPT ); Tue, 29 Sep 2015 18:16:47 -0400 Received: from localhost (91.78.158.8) by BLUPR07MB612.namprd07.prod.outlook.com (10.141.207.27) with Microsoft SMTP Server (TLS) id 15.1.274.16; Tue, 29 Sep 2015 22:16:43 +0000 From: Yury Norov To: , , , , , CC: , , , , , Yury Norov Subject: [PATCH v5 09/23] arm64:ilp32: use non-compat syscall names for ILP32 as for LP64 Date: Wed, 30 Sep 2015 01:14:06 +0300 Message-ID: <1443564860-31208-10-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1443564860-31208-1-git-send-email-ynorov@caviumnetworks.com> References: <1443564860-31208-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [91.78.158.8] X-ClientProxiedBy: HE1PR03CA0003.eurprd03.prod.outlook.com (25.163.170.141) To BLUPR07MB612.namprd07.prod.outlook.com (10.141.207.27) X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB612; 2:stoRi5V8KP0OyJSgcy8JMk7AKnnl+zBmraNgQfcjQS0yTzLK5CtMdNyEE0qXN4Gcl6+81sReGJvIxQsc4G5e9PxisQ380unYKuCKVDEfwb2EWUiuHJ0rejiyg7RhbRHQa7Edtfbj/NcAMsp6HHenkEZHmkhHE6AHzku2UtZLELU=; 3:lio+WgRzQa+zc7X2wMSHpDIl6qQn+jLzHSwiCIDxd3MCx3OzIT25D880anDdMNHIIIbXSCQNaxo0Kd9xAnyld9EOMmyUFCTv0OO9N1VvMY508Yqadh2ON84FLtXyrZTSG+pNc5RNQAFk5sylqY+JwQ==; 25:eoXKLH+ugLaTkFyBmUhwfIZLYV0VhmU9mK39yxLi8SjPDU0xrdFY3mmrYpBfolVECHee8YuL36xvuD46mv0KeZL1Je3qL+0jT2NeQAAF2Zr77Bhrb+GDaARHTTj7IfF3JI2YfzoJ7b0j21kGeGklD8PNWElC2kCySfnaJaEwWpnYsqN4Sgbam5awZKmswERopAt4GzSbkiplDUdiVxsgENT+XaNmIPYuNgTvjXOab4KRhnScFswMVCZFvVqI2Km5B7XkVLCXK3a5Z+sy6C8G9w== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR07MB612; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB612; 20:ze4eybViH8p5P3RWzSvknjS+KCMagpOSnZeR8KhOklrZorBy+3QR5TvLm9lrZenobX9l4FQigF1SkMgLLm8FXQzJNVVCf7RzBWUk+wADsJUV61Imtoya26wVkPfegtKm3Pz9y8QBD4ZdFDCmjOPuRBZL7THdgcqtbm7DQfaOk/ZA/OA9E6vAmu2yCyGw24oSGWYo8o2CTEdJNGbQoGNGPduXSKYXaaO/QUpc8mNUH/7+9WxH6Q0MjlKd4zCX5c9Jqjq/4I0bIE8ZJiKz3RQwFNOp80w2SfgzsIq5YFT1hDpCQilRFjby7HWFkEKCCJiON892O86yCpzx3HBxAeDIrB4SBUIDYplvVtNENucqkVBMyyZooXjzl2KdgQeNt90mkqFURhU0W3NjzZRWPMjUlXg9RwMi1XYBGw06YcVuVrqAWaIP+kAzsDPPlJUH6kliLhgstTLHvP2HCDgCN7H6K1IZzgABP2LCN/jHhp/i/yaWBPFAi7Dn5TSiadDTTW+sd/myg4bEiVVVWw6PJtSGh2jWRvFw/45iZ0l4hkhmuW8FTUgmSWowQ8LDGi7xM472+vJVs6xWmFq21VGKIG8FNitO+8/WqCE4jRdvyAs69uQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(3002001); SRVR:BLUPR07MB612; BCL:0; PCL:0; RULEID:; SRVR:BLUPR07MB612; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB612; 4:CH0Nve6YHcbFhPBV4SRGpwH3jXihx0KS8xa6q6zc4WNJch8E5O+qUB3M1S5MDMNIm6kZHK2gq5fZi9sYEilceyHse4cS3A6Gga3PBRHNwPwiVQIT5tFETgtvxlQoh7eeg4AVeEWNXsDWqJu3ZV2iT9gJ1LRG6xuzfrojE/UDTUaEzocZ5keZCnMa84yOgv/r1V5YEajoiRq3X59T5G4OW/2xQzxPpXQ1ZwkiNG+Vjfa09pw6531O+/2QxQD6PjkJR77eKiapZjDjVZ+z1f1O7tS3n2OadzkJNNhGH2vN1MMAj09hSutKNmmrO68vEkqrADWi+GRYHBn++Dahr5vPp8H7hgdiUFIvNVtZYMznHwM= X-Forefront-PRVS: 0714841678 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(189002)(199003)(105586002)(68736005)(122386002)(2950100001)(46102003)(66066001)(64706001)(36756003)(77096005)(47776003)(15975445007)(101416001)(5007970100001)(19580395003)(5008740100001)(42186005)(19580405001)(50226001)(97736004)(2201001)(5004730100002)(107886002)(106356001)(48376002)(229853001)(5003940100001)(50466002)(92566002)(81156007)(50986999)(5001770100001)(5001830100001)(189998001)(40100003)(76176999)(33646002)(62966003)(77156002)(5001960100002)(4001540100001)(76506005)(87976001)(5001860100001)(2004002)(2101003)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR07MB612; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR07MB612; 23:A/UYz7qqQZlT2/EPr5iHvX64lv/DKvJry7A12y6K4/?= =?us-ascii?Q?Neen9w8I7yvOWfME8S8vTyip6QJF90fK9wl/GGJtNHHj1O7pPuMAbYLalYL5?= =?us-ascii?Q?3FuZ2Jv6lyHyBHS84nhvRdNjGaRyrGm4RPW9zmhELJtHsyxlINmDsuN493wn?= =?us-ascii?Q?FSutKgD0jlrNd7QAsnvE4c2xJfHjPlnnwMhNUPUtVb3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M3cBcgPTcsDX4u8SkjVnNnzg3buAoTDmVHIwomhOeX19h/BJty?= =?us-ascii?Q?bk/W3dE/hqSNsZG09+kUib+mdB098lo6usAdZigh0D26HLUtWy7fHg4/bHHv?= =?us-ascii?Q?TaMirKmr5VPrSQKLdb01bB5qxYnb9yhjoPGBrb3ZW9bZfY8Ya72ScWUUaCFV?= =?us-ascii?Q?QK/mnCBFlBPT7fcvFPnmb60Whut9Xs2wOaNrq3vGZ8CJHwD+aDctM7Y56a7x?= =?us-ascii?Q?/RLMA2w3gdrKhK6IrZGDTU8F5zaPpg91rA/ez21aF87p6iWo2W284T2OFG/v?= =?us-ascii?Q?dLYw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB612; 5:To6FEhoE/eQbWORak8boF3766Y3maavBn2dJOU+Da55nVPEUJx9YaiG+I4RgTeInbtMNbJSPCShzIUWIw7d9T1SQqcTmJDfvvAI0gs/N6Ugl74rNrTV6sBhBKz87m/7oXE1QvOtXout5ddABqgbY7A==; 24:wAmyaIuiae07dd5wcdyFeeHg9H9z5lIc/rjQvniCJLRNFHi9VHtJWe42iXWm6RgyAjWx7DE5mPBOppLXXgetTT2EecUSZGR/hA0D1LnsC1c=; 20:wvdAv4qySsP1fZ10P5nNUCDrllWi0PayhFIZlyRdASRv4tkVo49RBvZs+biivHNoupQvr4W/rtVAJ+aCtq4PLA== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2015 22:16:43.7954 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB612 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: linux-kernel-owner@vger.kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) smtp.mailfrom=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: , From: Andrew Pinski Define __ARCH_WANT_64BIT_SYSCALLS for ILP32, so we (can) use the 64bit syscall names for ILP32. Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner Signed-off-by: Yury Norov 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) 2015 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