Message ID | 20170604120009.342-8-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> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AA2ED6032D for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 4 Jun 2017 12:02:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C82A28111 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 4 Jun 2017 12:02:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 90E5728498; Sun, 4 Jun 2017 12:02:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F3A1B28111 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 4 Jun 2017 12:02:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MR9OoIJdDK38Vv/o//peYlgkQxWHwfvgbKdlDS67gXY=; b=CCYeNGOiICylTK mCZBZAGwfolnXqYTAcBys0a1pP8Sqfs9aSRqoMOknrms86slMs2UxHvwEtdNJDFZnpJ+Abhu5L5kT adDJ2tZWfymz2lZ2B9VMiITgjnL+3an1dwMDgACHh0BkHLXPFs+XkDc8bmdKWAoVZzmocyg8crLpQ LzxjStPZA1Qx8Y/CsE7jB/5tTT52+/8IuJS5OZqkFIO6/pVlggYEUw6xCladFrK1VFgzP66+JHFmg 01JI/rdmtjw0rqn7sGTrnblLsZ1LsWk6yjQXtk+VT9ax/88DTPA0USTQMXxGp5Us/1+qOpCSri8gy I49mPwn9Dgd8kxRSU+GA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dHUEk-0000Fh-0n; Sun, 04 Jun 2017 12:02:26 +0000 Received: from mail-cys01nam02on0050.outbound.protection.outlook.com ([104.47.37.50] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dHUEJ-0007oR-Kz for linux-arm-kernel@lists.infradead.org; Sun, 04 Jun 2017 12:02:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=uGpNK+N5iMXGRAC7kk0r26ThobgkXBvs5iyly9AyIYg=; b=G3/GbAOFkHIc0KsdcVeWhJHihvxWEGkcyIdSELlHj1dJ4g3VVU692j4LT16wfJHR/iBLgNdbFSbqepa3da/IzV/BWTZ37imwegdyKujxhTp37jpkUhWFUV93fRqsZtQSF1y35vifI8Iux6kmd5N8mRU8EG7lz1zttONC2YfgK68= Authentication-Results: arm.com; dkim=none (message not signed) header.d=none; arm.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost (176.59.55.28) by BY1PR0701MB1269.namprd07.prod.outlook.com (10.160.108.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Sun, 4 Jun 2017 12:01:50 +0000 From: Yury Norov <ynorov@caviumnetworks.com> To: Catalin Marinas <catalin.marinas@arm.com>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Arnd Bergmann <arnd@arndb.de> Subject: [PATCH 07/20] arm64:uapi: set __BITS_PER_LONG correctly for ILP32 and LP64 Date: Sun, 4 Jun 2017 14:59:56 +0300 Message-Id: <20170604120009.342-8-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170604120009.342-1-ynorov@caviumnetworks.com> References: <20170604120009.342-1-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [176.59.55.28] X-ClientProxiedBy: HE1PR09CA0082.eurprd09.prod.outlook.com (10.174.50.154) To BY1PR0701MB1269.namprd07.prod.outlook.com (10.160.108.156) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PR0701MB1269: X-MS-Office365-Filtering-Correlation-Id: 6c5de244-186b-41b5-7ae2-08d4ab417be2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BY1PR0701MB1269; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1269; 3:92ZhwWKnvwWPrfkCJoJJ3WdCvEq3+1zxgs0Jv7NuRz+qmMz1zsZcXUlGYqD5Km2TCKfowoat7pz3rN5SmeV0EuaBeuYIiM8DG7IK7sLhBNfr0uKRoEFGLAbt0Wqi4SpUrPUFcIH67KFG5/3I332XazDXh04xc+XGG96IuAt2OJlY3+wi2jU8EZ9JvJYuL47UoqXm11DGySwPi2/Eov+92zf3v8w8fCoKpbVD921yjSSovTBNW/Pk/ciQAzXVyo+cDuk0hDmY9MZ6JQvxYmUtq+WbvJBeHUwemdlX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L2dGwo8Hp8TmDtyzYXFdCC3b4ciTkkI5uTVLbOjwnwcLxUnEWTKsmvzJItEApywRibG+REymp6FQKFXxNweSi/v4+ThVvcMKA5I91rF3SFTQlBodOO1XWkpyhALHI5tL/KbwnO2GbrzETxqJ15AAyVa3QbZWKr9ujIUnykospcwFvT5hcSrH8rOgeqmn9FdHhyFadN7vDR6HYIIPa8vuVgGUO31iuL+vMRriC1pm5X//vLQ8B/Owd1ZyplzzAfpE8XH3Vk6KoYvzGUSB8zxpKeSTDiXsJEEqADURjWkiNim5bNZpPbqFp3QsU3O1g7pthEyWeU2nQojdMKUp6PdSrMf7PEX7A92mg4MLovQ6KJeU7HI= X-Microsoft-Antispam-PRVS: <BY1PR0701MB1269D77948822E54579084BAE3F50@BY1PR0701MB1269.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(6041248)(20161123555025)(20161123560025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY1PR0701MB1269; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY1PR0701MB1269; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1269; 4:6G0EU89MJ+6fIrMkwy1CFATLt+flvZ4yRKwZEzu9?= =?us-ascii?Q?TaoPcGtjFoolKDBLJMGIfKE2R28SCmaTBG1KMsbfWsK7DHv3X0r2M4H5Z/Bk?= =?us-ascii?Q?VzBKIBljqPyKhoHZJK+dvG8aWXAeHoWTHybdTLmssQhMOA2U/kJ+B/lAg0ID?= =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3wUX1tqGnNlEYRzeA9?= =?us-ascii?Q?5PE1etYXPWE/+hwn++Hj6m+dFF23QIpCciuhyFj1kR8f7Oip5oGaBcY/nwgU?= =?us-ascii?Q?c/OuZp1a+C8=3D?= X-Forefront-PRVS: 03283976A6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(39400400002)(39850400002)(39410400002)(50986999)(76176999)(2950100002)(42882006)(189998001)(3846002)(6116002)(6486002)(2906002)(66066001)(50466002)(76506005)(1076002)(48376002)(33646002)(4326008)(47776003)(54906002)(42186005)(5003940100001)(53936002)(6496005)(81166006)(8676002)(25786009)(36756003)(107886003)(38730400002)(305945005)(50226002)(5660300001)(72206003)(478600001)(7416002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1269; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1269; 23:5vOcJbbEnjyjOxtx7kildtKdaqUY3Iq4UE+0nW/?= =?us-ascii?Q?/kqFbK6okdY7XPuZ9U1uYDjoND/y7hzxoOxcOISXhevDLEPoKj3f5sXeylo0?= =?us-ascii?Q?rzWi6S5IypZSGCZ/3Rg3G+BdjbC0gz/XA6n9KP247YBwoLyYf5budh1pBrqX?= =?us-ascii?Q?n6douF3gJLUvpRAkdPQKw8ZVXdDymmzPWF2g/0tfggd8fkZLicwrD+CJCp1H?= =?us-ascii?Q?uK5i4mLyc14YAn2SzPAcLXHgEMhLv99G0OVY0/QokRqa0MzABEQGTHIl4KdM?= =?us-ascii?Q?vNOru1erWe9Q+2CQn/STHsmHUA8GXO+F/78skroHdzoutPO0BDVnAena5P+z?= =?us-ascii?Q?0X6aiTCB85E7HJidZYq7qjI5F7DPO579gIt3hGEKYTD621wJxeKv9rr+YM1H?= =?us-ascii?Q?OIGubHQwaniHcIVJvdmyKkM+V8XKmdqsjoek6SNcaTPXG5VXTw0AYjimg8Gg?= =?us-ascii?Q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OS9CKqxQubkn+fvImeifMbFtSL4t+cVDC3IaXOk9sEimOZZUS8F/8wMUkff0anwGI3BjN58kDHY/C+O5/Zn/hlpD29epFXo538Nk/qPV2kE+4Z5EyRSKuEXhE1wvQ9ooRS+TS79OsOjDTr2X7WsCaC9e/lhhkjaaiU7jJfMDalECN3Ci83EhqWkQ== X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1269; 5:UaYFzv0nPe0Iszk6mwovwyKXmjISZ9iTF+px0RNYCaBb4572zT88qUg4ICNSp26PaJCRDNWXeVPtAXDPKpH8tSJxPkePi7FV6mUvC0yDobCbfrbb6x2BtLNapAZZynLyy70FqeNFoGXXliUKi8ww/ztjxbNMp6xk5Dwi5ewQoSJkESezjPUVF0DJzWusWFz5/gQV9vgT1UXjZyzZOIIpy1Zj1eBeup8zsUqHaDo/9N+rjJvLB5Ff8qyGL3YTQQkMN5xCD6HJE8jUfkhHggsxbRTFIBTLFuOVf9LpDgOqyg5quAyp1jfjdc7FkQ8O1sxNSBglhA4wlgUzvvpN9DlkpQ/bEfn47cdlJ/b6JLy8ojfhecsPzRtDzgRjY3j482x2fL4FVpPmpg1xqQxTME2P5mfa9CXEonGBhsOFn/HWJ1Tg0hruKkNYw5BAcuxPOVeQxVUoVgm04fSm1TF8UMc+iWSxs8L0nbIxBrywTBBQSUhriCqosOdY90l+YSOezELg; 24:n7HrF37JhAOPc4kf0gB2/597gruC736x10b7jdzijPL3hHb0Uje9KussGYkXB6dRshpCbhyxmVwQlY7jZfBfhMnSmcgDQHvd4EDgAc+a5Lg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1269; 7:aGfwZWvWRb4XG0CCBWPZPO0vWZHaNW5PbD87wXF8IO3zUFnod8Le0ReZqQXnPy9L3S7Ugj3iV5zhYKPpvBRQrozVyUQozOHxunQi5u6ZP7MgtmJHyszOJkvTRCetEDTG6/CHy+w9XxrPhjhbWd95qIjBxs7GTONknLg7Y9+Bb4pD0jpC4bcAkMFYDDZ2qDzdYqWWyloEE96HT4l+XBmVi1Zz1lb/+f7j7fSbeplCG6PG02Bne4YpGS4lJlgZ+n5JEvCK6JtcGk8bwxjmHvyp8Kcylf4vRnFnUxFq0P515VE7QRP9ui1vp9aLipeafrzo2KspmihpcLFeewYrqcPMqg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2017 12:01:50.0812 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1269 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170604_050200_625078_0B3AAAD8 X-CRM114-Status: UNSURE ( 6.14 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 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: Andrew Pinski <Andrew.Pinski@caviumnetworks.com>, Heiko Carstens <heiko.carstens@de.ibm.com>, Chris Metcalf <cmetcalf@ezchip.com>, Yury Norov <ynorov@caviumnetworks.com>, philipp.tomsich@theobroma-systems.com, Joseph Myers <joseph@codesourcery.com>, zhouchengming1@huawei.com, Steve Ellcey <sellcey@caviumnetworks.com>, Prasun.Kapoor@caviumnetworks.com, Andreas Schwab <schwab@suse.de>, agraf@suse.de, szabolcs.nagy@arm.com, geert@linux-m68k.org, Adam Borowski <kilobyte@angband.pl>, manuel.montezelo@gmail.com, Chris Metcalf <cmetcalf@mellanox.com>, Andrew Pinski <pinskia@gmail.com>, linyongting@huawei.com, klimov.linux@gmail.com, broonie@kernel.org, Bamvor Zhangjian <bamvor.zhangjian@huawei.com>, Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>, Florian Weimer <fweimer@redhat.com>, Nathan_Lynch@mentor.com, Andrew Pinski <apinski@cavium.com>, Ramana Radhakrishnan <ramana.gcc@googlemail.com>, schwidefsky@de.ibm.com, davem@davemloft.net, 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-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/include/uapi/asm/bitsperlong.h b/arch/arm64/include/uapi/asm/bitsperlong.h index fce9c2924fa3..4265243e326f 100644 --- a/arch/arm64/include/uapi/asm/bitsperlong.h +++ b/arch/arm64/include/uapi/asm/bitsperlong.h @@ -16,7 +16,14 @@ #ifndef __ASM_BITSPERLONG_H #define __ASM_BITSPERLONG_H -#define __BITS_PER_LONG 64 +#if defined(__LP64__) +/* Assuming __LP64__ will be defined for native ELF64's and not for ILP32. */ +# define __BITS_PER_LONG 64 +#elif defined(__ILP32__) +# define __BITS_PER_LONG 32 +#else +# error "Neither LP64 nor ILP32: unsupported ABI in asm/bitsperlong.h" +#endif #include <asm-generic/bitsperlong.h>