Message ID | 1443564860-31208-10-git-send-email-ynorov@caviumnetworks.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 908CDBEEA4 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 29 Sep 2015 22:23:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A311E2063B for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 29 Sep 2015 22:23:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B8BDF20604 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 29 Sep 2015 22:23:30 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zh3Ha-0007E2-VT; Tue, 29 Sep 2015 22:21:58 +0000 Received: from mail-bl2on0095.outbound.protection.outlook.com ([65.55.169.95] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zh3Ct-0003Hq-OM for linux-arm-kernel@lists.infradead.org; Tue, 29 Sep 2015 22:17:08 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; 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 <ynorov@caviumnetworks.com> To: <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <catalin.marinas@arm.com>, <arnd@arndb.de>, <agraf@suse.de>, <bamvor.zhangjian@huawei.com> 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: <BLUPR07MB612B70080FAE53CEE3527B5EE4E0@BLUPR07MB612.namprd07.prod.outlook.com> 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?FSutKgD0jlrNd7QAsnvE4c2xJfHjPlnnwMhNUPUtVb3i+MfiM1RWum9TNdrn?= =?us-ascii?Q?tDRyjwnznZOgKDKW1nv1/8FNKpHne+1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?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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150929_151707_943541_41BAC981 X-CRM114-Status: UNSURE ( 7.27 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: yury.norov@gmail.com, klimov.linux@gmail.com, Yury Norov <ynorov@caviumnetworks.com>, apinski@cavium.com, philipp.tomsich@theobroma-systems.com, christoph.muellner@theobroma-systems.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
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 <http://www.gnu.org/licenses/>. */ + +/* For ILP32 AARCH64, we want to use the non compat names. */ +#if defined(__aarch64__) && defined(__ILP32__) +#define __SYSCALL_NONCOMPAT +#endif + #include <asm-generic/unistd.h>