Message ID | 20170619155003.13218-8-ynorov@caviumnetworks.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp942111qgd; Mon, 19 Jun 2017 08:55:59 -0700 (PDT) X-Received: by 10.101.87.206 with SMTP id q14mr26305221pgr.153.1497887759784; Mon, 19 Jun 2017 08:55:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497887759; cv=none; d=google.com; s=arc-20160816; b=A1veq1DcvDJFz1qSwSYKHiYyjrybOdyMek1uM9z+/PC03RxK45bewWpMycnmGg/ZGx fS33GuKVHg8jrbZORG5SHnGSwPM1RBfhq0Atb/5qDgS1UvMT8hrRjoT2iW5/gqSTAWVc C2ZCxFK1ixLdJAATkKxZ3KU+QFEjCwwSoIEkda3j4wYNew/XXqsvpvqxD406gMtEXw85 GJyuDRgAdIbe7G/PvkqPwJtuGUugtG4nh9a0NdrHGbYNobk3AFJncjx6b+GJBc/QnkYq OPz8YVgNQ6xLRKeNOKJU/aRaJYxRkjxhj/fb8A3zTQ9wYfWozw899hGuZWQHXuMt/Tx0 tuBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=uGpNK+N5iMXGRAC7kk0r26ThobgkXBvs5iyly9AyIYg=; b=sMwM6QMnxYw6LgpNGGHq+w0VeD2R3YKoVsqi7FmulWcMQrNJDBHkxMRCFjxJfSlVBu jQtJrfnltpIaTXWDr0PzrlfRIF+G6oC91V/1AMyly1iUM/qwjWYVo2it2T9sI8Thr9vo vTeCqe5RaUOQ3kbY8xX3ZRqGt5EHDAWRTeJqI4LBE2yIqjV/a+T94HOjEhzp+Xq7fdQf Xtdl6kjsm0eyuvELDgY2iu+75jRKXS/Dl7YS4FMPBWqWVzBB8OeZT+m3xTh0qLWlJilY KaXzYr1lg9AcgX3sDFqQpYCHxNF9EAUpSGVyDtaXVWjbjcMCBb2InG5sf4QXa1XrGAhu Qs4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.b=XNVXpFGK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s19si8437295pgj.312.2017.06.19.08.55.59; Mon, 19 Jun 2017 08:55:59 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.b=XNVXpFGK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753762AbdFSPwI (ORCPT <rfc822;georgi.djakov@linaro.org> + 25 others); Mon, 19 Jun 2017 11:52:08 -0400 Received: from mail-cys01nam02on0088.outbound.protection.outlook.com ([104.47.37.88]:36800 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751041AbdFSPvs (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 19 Jun 2017 11:51:48 -0400 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=XNVXpFGK0Qu8Ir7dUqcQbPMW1XmHvXwxZnET5yeGi71IO6qnpB3w8h8tktRS/bsNNNrauBMJqbBNShM6WQktgGf5yx3L3JgP8O2yJIW8iRmA/YQuZW7TtRyobUcFfACFZQvON7yAl5wVNb4X+uv+7Xo6PuiY/DIK5k+qslox26E= 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 (85.253.137.34) by CY1PR0701MB1865.namprd07.prod.outlook.com (10.163.42.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Mon, 19 Jun 2017 15:51:46 +0000 From: Yury Norov <ynorov@caviumnetworks.com> To: Catalin Marinas <catalin.marinas@arm.com>, Arnd Bergmann <arnd@arndb.de>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: Yury Norov <ynorov@caviumnetworks.com>, Adam Borowski <kilobyte@angband.pl>, Andreas Schwab <schwab@suse.de>, Andrew Pinski <pinskia@gmail.com>, Bamvor Zhangjian <bamvor.zhangjian@huawei.com>, Chris Metcalf <cmetcalf@ezchip.com>, Chris Metcalf <cmetcalf@mellanox.com>, Florian Weimer <fweimer@redhat.com>, Heiko Carstens <heiko.carstens@de.ibm.com>, James Hogan <james.hogan@imgtec.com>, James Morse <james.morse@arm.com>, Joseph Myers <joseph@codesourcery.com>, Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>, Nathan_Lynch@mentor.com, Prasun.Kapoor@caviumnetworks.com, Ramana Radhakrishnan <ramana.gcc@googlemail.com>, Steve Ellcey <sellcey@caviumnetworks.com>, Alexander Graf <agraf@suse.de>, Mark Brown <broonie@kernel.org>, christoph.muellner@theobroma-systems.com, davem@davemloft.net, Geert Uytterhoeven <geert@linux-m68k.org>, Alexey Klimov <klimov.linux@gmail.com>, linyongting@huawei.com, manuel.montezelo@gmail.com, philipp.tomsich@theobroma-systems.com, schwidefsky@de.ibm.com, szabolcs.nagy@arm.com, zhouchengming1@huawei.com, Andrew Pinski <apinski@cavium.com> Subject: [PATCH 07/20] arm64:uapi: set __BITS_PER_LONG correctly for ILP32 and LP64 Date: Mon, 19 Jun 2017 18:49:50 +0300 Message-Id: <20170619155003.13218-8-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170619155003.13218-1-ynorov@caviumnetworks.com> References: <20170619155003.13218-1-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [85.253.137.34] X-ClientProxiedBy: VI1P190CA0014.EURP190.PROD.OUTLOOK.COM (10.165.188.155) To CY1PR0701MB1865.namprd07.prod.outlook.com (10.163.42.19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c7d86538-287d-4734-352a-08d4b72b1746 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY1PR0701MB1865; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1865; 3:R4b929sBrTOsnHKuzYoXVAaPhYyTRQCqBYiNftVIv8hO2Rr2pFYMMR/DZHWLXEFYr/+B3gJBzvGO1VQHnsAWOfG16ljIpGci9DgA9HxMG8aSUPb6wh2MM1rS4Vw3mET+G7LiybWJGmMXViw50upjyMi5KEyewJwNNsjhX8vqhO/3QFoDiTwQEtrZpkpOjT4XWA7BnCt4pKU2w/QT0/PGYC9Ao+zq5DMRjWKTf8HxhYriT/CPxm8uOAAVJbnNlvymLCfSQdPkvueB8EMIFlON819BRJsoXpXSqu8wch0NaPD/N+CLLRgl1ezWdgbNEl1U8t94Zji307dYcCeUk83EkQ==; 25:eKQbgHTOSHspxSTyGFjozEY+osLAEAXGI+L3hnfLYYvabTW1QnDaY4CCRfu5D4OrbNGHVNO1mMZqQzLFX1ObLxxqBZVHuycxVWNncDATcnWAdpaZLiG4EkOKbNa2MmKQ5r4fgCvgcAYb+j0U/2fFitYzxOLm4hBfBTDkbf/rR4QCcqcM4m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SUiz1t/RblUuNZBozV7WmagcF8cyjZJf1EsvY6isKbGPXhRxfmvnFV9+i2/c3/gguwdBDOWoRfICr/Oj615ur3w8z6hi2eOBxnFlUWoq5m1DzOlD4bVyTvJtvVuK+nCUKCMNCjew6vhDmxkD58XjzO8NgKHwBz3xt/OaR4= X-Microsoft-Antispam-PRVS: <CY1PR0701MB1865C342691107A2EE5AAE46E3C40@CY1PR0701MB1865.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)(8121501046)(5005006)(93006095)(3002001)(100000703101)(100105400095)(10201501046)(6041248)(20161123564025)(20161123560025)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0701MB1865; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0701MB1865; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1865; 4:4+fKrPS2KKXoPUwJgfZWHAsvYG/TqsOoAsmaPPFO86FdZR92uph8acQuyqW/1r56XFpHCFBrYeGYLps7axANcdJUnv9e3MBrk06/XUqYB6ES2B0gr4m98TnJ4Nmf7rg+lNrzujcsFBnMwO29a8X7dTACpUtENhW6VNL8nAAgvvVopBf9pz663Krol6A1yX1wkDSQeKAxSocjh1dRbbKK74mR07HW0M6h3oFFuveLmrA+1la/M4zUmdlyXb+cxGL3SYa0/gJz9WN6zV0V12qEkopIxTu2rvRfYg+0gJRXPImjlcQ1VROi+y4Xx+hA3WHt5wT48eY2CvLKLD4XGa0z09OUIXAcrcquKopN9LmgVyEINYr0TL7fAC1n4fvCyNoWaac9wGHXNjTekyiUmJMrUo2GpIh2Bhj2iSIn2rFXpiFNrVh9Qm2HpbIICSTZyF9hHV6zr05zd+qk5vn9ffF4x3Ibd5W8oOXNtPlV4g/E/hsgr5frI327miKiKea9Sgb4bcDCFBMTXKO513kmlheTXIV3TqgbPRii1/HFCkG5vrBDeo58MGFzFj0ve8jMgOQggpD1LAUbxewx8GkLzcNQVmvEPYAoh+I1SKkwRWWzhit2GoSQEQPwrrJ7QEvtG96/bRvqyEgEXsPfKAWMXXiuxuMIOQO/08I9Z1XSdcihxOKkLmEIfE9rMg6uq0qG2Q3r0H9z40wN8G4C1Dp6luCQuzuGOi120rrSLuZyIN+dwvDVfEep6TwuHLv91FEeCm6vNMW+4CYzH9jDxRjYZEoEx51Y3PJfYfnjCbLvno1GXDmvxd4eS59JLE0vC7MMIppESEAAZvcMyk396FZYwNMqrh8/T9LOiA+KHYwxJsdTfVTkW4NT3//dhgJDQ15Ik8P4FGeg54mRZQ/tsKoRPv3bg9GgWYBtIGOPCGaY6rDw3GAtlsb5uFK5NAMOQDhil+d0A1T1uZ+RqQu6hz/hox26l0vtkQ55dvVpWh6Fg6AzcI5Z3INbk1F0ks7dlm186q6hIQKocjtEoxcNNDBjySslhFPJZbV8w+k71QjUzvMi8JOd0Ci/ep2Ka1fyjkqp2Y4O+JsITo5KcUFgoZAvQjuduslDj7bhsj51b/G6VSMlPdE= X-Forefront-PRVS: 0343AC1D30 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(39450400003)(39410400002)(39850400002)(39840400002)(39400400002)(72206003)(189998001)(305945005)(478600001)(2906002)(50466002)(76506005)(7406005)(5660300001)(6486002)(107886003)(7416002)(38730400002)(36756003)(33646002)(42186005)(5003940100001)(7736002)(54906002)(42882006)(3846002)(6116002)(2950100002)(66066001)(6496005)(48376002)(6666003)(47776003)(81166006)(8676002)(25786009)(53936002)(50986999)(1076002)(76176999)(50226002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1865; H:localhost; FPR:;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9gsK0DkYu5xp5Pr7VgqB2oqr4T4EJQygmw27kCnAEYjd6y46QEs1fuc5yz8UhSYZO/qGhk= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1865; 5:zvqdqL8q2BqdtB6RIx/s6wGVMEylhjvjX3HfdVsoOk68H3VYRsOQSkb/bJbVNREKs/W5iZtOHBUTZnG3IB4ee6P/9re4TF7Yc9OgOohogm+E+ey6ASLlEcBSIXvY+cZcy4ZedUVCJx8GU3CvZhxeorOP91y4vzMLP5TN1UqaRpvOKm8riyYBxerkjUKhmADa6gLSm7emmNll2xuSroc5c+a1GkZGUOla1q5uvg1s9Cbm/3WFRKBFUSknFTwf1dRvuipda64jBbQ2yngGs5flY3vUDLEfwcsiU2TZ3LQw2SzgUa/BE0b95WOQnuncX0jvbvLD5k6cOajYIr+hzw9IzD+wRRkt9ekflqazrL/AZDoDGaH62wTM0D38mKUUIfMA7/+FUlrWLjpWMoKgc4Pp6kAY9AdnNFPmkLmiQ3uL97FxfmRrEsYGg1hfi28vuvCyOUSX3u1NtWXh0oiuRETIZljaYujoi3TrLND6zYnKVS2Kxzq+9sCMz68ZbEvNix8t; 24:266VEXCvk3pdPw96ODcrDjHX8Wq0KsBwx48I1/ggGjamcR+j7XfdK/SohMECrcdkn06/DJp7MMwtJ5+6zbu/+3I4CrQbsWNNSPdug1QMnwE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1865; 7:i5SwZtfwIk7sySR1JmquhPzMoM+ueXxaDj9G6Atf+ECVdWKqZ+xbMT0U4LJ9rsUe4G640PM5vNdm4w758AWV8yTF+TjTdrT6ZCXkYTHnhRBCig8rj00Gnr89k9db2l477GethNo4eSim+3rE0voSUuFIpgq3hw1xvsQKEK5LsGCaRu3WnQ0Owr1pWyVhId7wBZVv5Q3sAIaNWyewVlvCtTexU4NoAZ41UwXB0mM8qs23G6x1xpdfuHOUKZ16cOa+dsX0r5d0jzNfQKTbWone/i4+vv4DDEY1GJCj8wjeOPrD/llvyJs8yCm1rFirMCIqxg9ddta/wQ6jMm0rHHwlMYGziTq2JwXQM9/obM0aN3DTJcoolOLFvfWio+TXP3RosgbVh7cRJuquaqhJa6yq1ZMAsdN4Xi4jt1mUR6N0n2lMQMllPue+W/3GVFa039r3HWSI/hSCCcvxp+U5qGmgciKJzcVd9rXFoDjwYRKuPaAHTTHDdOlrlh5UMg9je5H9kgskltqD/+kdR6rW7kvzthjz56o6gbM5BdwuHQnKZHBmpPlSHnClbYkZOyO3iwudy/+HKCp7oX+3dkZ/Q9Fgn18YEHXSDQ0jPPle8odp2G9kAQQ/gKWauJ1Wl1ox2uHC31ULdvVYM76WEZnZfXtSR6ad6pqyNuaz4JP4S1q3vbmkWLSi6sAmDa49iONjCFdBp2S35HgL343z0oYb/va9dWWGfNmgkqQjARoUk1oPYCzNRSfe0LouDILOOC4Upc3UVZ0BAcN1FxdE4x9aZcSLRvmaavrxaHaGS/vDscLZfL4= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2017 15:51:46.3661 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1865 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
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>