Message ID | 20170619155003.13218-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 8448F60381 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 19 Jun 2017 15:52:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 70CA5271CB for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 19 Jun 2017 15:52:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6541827A98; Mon, 19 Jun 2017 15:52:54 +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 DA0CD27480 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 19 Jun 2017 15:52:53 +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=LzMipbwLsPU1Uv 7TH8zPNZJm5u4qsVYDh5HKLvX86ozZhg+4D2/CnAGXXu9tgDEvMlqQEIc2Eie58nED5oYhRYOjwJA lmaPZH+jdD6Vi1oQJStyeAoQ0CgMqb8Sk5Btha4K2y0/0q+HuQCUBNpiS28nhqWxPuDTZiRa1uBmu tXkQnnHc3NwB72lmD7uVv5NnP9mMOcDzpi0Cv9OEh6ZbJed3DCWV+HZ/cSMtEiV7FM8Q8JiUr9EDs ZtZddcvTaWSf+APfwpbwevJR3LFTzts79kep8IavftC8oaelHx7eVVzzs4zud9UjPfvTUwPj7/wqr zAFdDmNAZr3T3bHe/cLQ==; 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 1dMyyx-0006nW-Ud; Mon, 19 Jun 2017 15:52:52 +0000 Received: from mail-cys01nam02on0607.outbound.protection.outlook.com ([2a01:111:f400:fe45::607] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dMyyG-0005oT-DH for linux-arm-kernel@lists.infradead.org; Mon, 19 Jun 2017 15:52:28 +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=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 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 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+CL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dm6cKDHFCYh8yDrDhfS8FUamcuYZnje9l+DeKcWoxHgyBviePgelv9yu+gwX6FlDJ8I2jJqkgP9Bhw0dw7vV3bHMrXVQXqtXXlI/6A3bSsnrm2TgsqUAnzDp2WIjW3J7uveiMReRm9CiRe3ACn/ECzJkI593Vd0AJWW++4IEBuv3w6mDZxCUuuvfv4xvgbPnlKw6DxbRzj2M/T6bNnKz7wvANHeSUiz1t/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: =?us-ascii?Q?1; CY1PR0701MB1865; 4:4+fKrPS2KKXoPUwJgfZWHAsvYG/TqsOoAsmaPPFO?= =?us-ascii?Q?86FdZR92uph8acQuyqW/1r56XFpHCFBrYeGYLps7axANcdJUnv9e3MBrk06/?= =?us-ascii?Q?XUqYB6ES2B0gr4m98TnJ4Nmf7rg+lNrzujcsFBnMwO29a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lm186q6hIQKocjtEoxcNNDBjySslhFPJZbV8w+k71QjU?= =?us-ascii?Q?zvMi8JOd0Ci/ep2Ka1fyjkqp2Y4O+JsITo5KcUFgoZAvQjuduslDj7bhsj51?= =?us-ascii?Q?b/G6VSMlPdE=3D?= 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:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1865; 23:zOWD6eFM0gUrqLAb0WM+mMd1fXpvAz42vkyz0xf?= =?us-ascii?Q?wUW0WtZ7wUok4G3oq+OxSeZHEk0c0HlS5XuFOo3IgHbTgQBn3WDzVt5Dh/fM?= =?us-ascii?Q?CqtQTWyfUAoCtuuXRjoFQOUi77iC0VAYs9dTH6nTsClo+hywTeNCfzkNofqN?= =?us-ascii?Q?wnaRIarqhU6/Vpd6q5U0APVsTZURYBSzXLHP3iTROVASqJw7TcVrhSlCp9ND?= =?us-ascii?Q?TouC1zbFSGYKbl/+vCKexhW0XYfXnU6U9kbT8iaywZoSwfKDYrOHZ28RZdPE?= =?us-ascii?Q?1pjS+ugmOWyytYi+gCjqLbw2bFuM+aWuBNbbt028E17/uwoaL4cxNuFsfWLB?= =?us-ascii?Q?EZA5J588rdww1MlEjFSVNUWw+A58QRTvvn+Fomix4TuL97jiAq27jhsi3mx1?= =?us-ascii?Q?JrygiIEDffYEFyLtD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ZO/q?= =?us-ascii?Q?Ghk=3D?= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170619_085208_811563_F41B5785 X-CRM114-Status: UNSURE ( 6.44 ) 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: szabolcs.nagy@arm.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>, Alexander Graf <agraf@suse.de>, Geert Uytterhoeven <geert@linux-m68k.org>, Adam Borowski <kilobyte@angband.pl>, manuel.montezelo@gmail.com, James Hogan <james.hogan@imgtec.com>, Chris Metcalf <cmetcalf@mellanox.com>, Andrew Pinski <pinskia@gmail.com>, linyongting@huawei.com, Alexey Klimov <klimov.linux@gmail.com>, Mark Brown <broonie@kernel.org>, Bamvor Zhangjian <bamvor.zhangjian@huawei.com>, Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>, Florian Weimer <fweimer@redhat.com>, Nathan_Lynch@mentor.com, James Morse <james.morse@arm.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>