Message ID | 20180920135631.23833-1-aryabinin@virtuozzo.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-2.web.codeaurora.org (Postfix) with ESMTP id 876FE6CB for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 20 Sep 2018 13:57:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7545C2D81D for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 20 Sep 2018 13:57:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 68AD22D825; Thu, 20 Sep 2018 13:57:10 +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=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 297DF2D81D for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 20 Sep 2018 13:57:09 +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=rDQyT54x8L3iWpIP5j7Zot5gwOy5Ovn854K7Sea5p74=; b=hoPTZBR6wLTo7U ykwbVKFz62+tVSWyYJkCmmqQHKlIrjlY390xFY/ThJ66zvRiUso6uPtzn4urnvdp4ySKWSx5oAjfO 0/8PkF42ZdTrNzLWznfzVp5Q8HOE02HizPRcbb5YJ3rhKyS040JMeAvyIY2M5ZBKmyeLznqu5Xn8o qNCWjX2TzqBAkRyobYsrlSSTZmV0nv5c7ZY4TiJxn+oEfjvnLDzKZ78GWpFq98bJK/19l/GfzBVII vBqipJc6ZhRlUukrCezURu94t97hk8Y0/wh16JCpV2epotcKGJEm2OIA/+EDmdGaqk6Jo17G1ZpZB 2mmYp4J7NEhd4yVyGodg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2zRu-0003cY-Km; Thu, 20 Sep 2018 13:56:54 +0000 Received: from mail-ve1eur01on0092.outbound.protection.outlook.com ([104.47.1.92] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2zRb-0003aD-7o for linux-arm-kernel@lists.infradead.org; Thu, 20 Sep 2018 13:56:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=M8Dz56mb9OPpPukvwWgrTKcuyK6SxW+YjWNTCGyfLvs=; b=FNc347Mms1S9mO8V6jY7cMyWJRSkqIrnfxksXlLq9hFI0BOx2vw8S2KWDZpd2e+JyFxxYTCDt4pum5IZ+VPuUYyXu54rywpp9QYid4dsAqfyXclJQmXrSYXxAhaBEqLouckqFhNzJipPbE58ydwBy3QkAjut49m2babpqN9e8Gg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aryabinin@virtuozzo.com; Received: from i7.sw.ru (185.231.240.5) by VI1PR08MB3264.eurprd08.prod.outlook.com (2603:10a6:803:3d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.17; Thu, 20 Sep 2018 13:56:19 +0000 From: Andrey Ryabinin <aryabinin@virtuozzo.com> To: Will Deacon <will.deacon@arm.com>, Catalin Marinas <catalin.marinas@arm.com> Subject: [PATCH v2 1/3] linkage.h: Align weak symbols. Date: Thu, 20 Sep 2018 16:56:29 +0300 Message-Id: <20180920135631.23833-1-aryabinin@virtuozzo.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180914152800.GB6236@arm.com> References: <20180914152800.GB6236@arm.com> MIME-Version: 1.0 X-Originating-IP: [185.231.240.5] X-ClientProxiedBy: HE1PR0301CA0004.eurprd03.prod.outlook.com (2603:10a6:3:76::14) To VI1PR08MB3264.eurprd08.prod.outlook.com (2603:10a6:803:3d::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a89c1e23-7118-465c-2623-08d61f00d7f8 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:VI1PR08MB3264; X-Microsoft-Exchange-Diagnostics: 1; VI1PR08MB3264; 3:MYqHVf5ZIkGOqRvHzGkEdMss/r5xg6vmINaFmsQEg6uuV+a+UIJxIl5Hz5DxgRaR7GKPa98NhnuPxSEafSXh95Mj3dQ1N9JhoiC/3kh7WDojvJz+3UcuRWPUDxaDhF8nxQfvwuXqSHFBeFz4jUInaE/f1wg9nCbtuoDjI0DzgRO4LkXiSwRQ0wHXhyZsApCu7BGAB8yQ/Xbc+l+vgBocM7RRQIHpXhNA34DUCcnRiNZ+PlS/795ckibAZfTQO9xJ; 25:CoH4Mx3beAmZZdIa4fnlXxMhIxlomF4b8lRG2DtUjIdTyyAXfxz8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ForiEbHDGThM6BUnuqJTc2n; 4:fcpC6miEIIrS3S6/IS6gEI8Sj7YV/gPchqu1H0UGUWos7lm4w1ek7gtlLOVAO/vUIw2cY2NQ0UIowEFHFcwDvGBEOrGrWLVcfKLxuNIrQoTcrjPetHgVgVxffbzwVTyRwJOZpleKVpJbgfyxxFCEdDzdDtj2vTN24lfGRP/6DR0jnRbqqviLtPjOh5i8YIDXgNeROqI0dwNKjMvbjtMZTXjdVOGvRuKZ3cGDyWZIXVOFhL2FdDUcTMzv4Wl3W67CQmof08e9Uo+8Pae9txhxHg== X-Microsoft-Antispam-PRVS: <VI1PR08MB326439C93B05919EAAF86C99B0130@VI1PR08MB3264.eurprd08.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231355)(944501410)(52105095)(3002001)(10201501046)(149027)(150027)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699051); SRVR:VI1PR08MB3264; BCL:0; PCL:0; RULEID:; SRVR:VI1PR08MB3264; X-Forefront-PRVS: 0801F2E62B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(39850400004)(396003)(136003)(376002)(366004)(346002)(189003)(199004)(68736007)(52116002)(7416002)(7736002)(956004)(6512007)(11346002)(50226002)(446003)(386003)(6506007)(1076002)(6116002)(8936002)(476003)(50466002)(16526019)(486006)(97736004)(478600001)(186003)(8676002)(53936002)(48376002)(86362001)(2616005)(26005)(4326008)(107886003)(81156014)(106356001)(2906002)(105586002)(305945005)(5660300001)(6486002)(316002)(6666003)(51416003)(53416004)(16586007)(110136005)(81166006)(76176011)(36756003)(66066001)(3846002)(25786009)(54906003)(47776003); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR08MB3264; H:i7.sw.ru; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR08MB3264; 23:nNe9uaCoaD63XFozjvQGn3yziddwH6O4jvZvz1vOe?= /20kaVl3rltxJaKo7k/dlHR3PPTHpDRf2M0HqnueDnjf3RkZDSBGdvEHaACfZub75noNpI7rdE8P6JunVwdKJaiRB9GqXe+bztMEblcWUSCEhcEjM3ZrSByCnJDyOpCaT0EfMUGNdmmIF0z1GZpkR8LofTnmBkkAbRv7yGIcg0TgY7hu0JW7vp14svq4qFivQvtwVWbD8dOc9/cGU6f5PEmLUF2LV/QjZksktdzuYBYxBzBNDgNFzAQQopyap7P9TmlyZHwFl7YVZPAVzOv2jQVpE3Eg6EOjV28/nwSCe40BarMansp85EFpBd0rOM+Op0c/n43j+FZmSkiWlUjDF6PUujd8cdRMQ5S4lYOkXuwzTt5hEMm80AMnaWgsn5hUlkC+5JmAfO+NzGI+rqqubVf2u2M9R/+ymPmPoid8nIYvXQMXHcxzLlhCLM0P4xLUwowHPYReVAuVo4JXnCexmrP+XPoy84bIAcJPY84sU628W7LgQcQkpIwvkKcfunxD9S3pfIp95JP/LskCauMQejyZkZKdClXJZHwLMp+aF4IXMS9Bir3eCNh9hwTNjxGTDt0Gmbw84AUcAwkp7ifFS+DL7K1w39m4t535UUWXSJg1yNsJKPLYR6JgOlp7wrQhe3plOtw6+fgnFo5nTG23mM2/7yGP/bd65JLtuw+PMQptR43NbLYrC9BXfae4K4OC2uh9B6pp1FVu15TCSKeXcRYFlwiaV4TIHNU/iF5SJqWrdL/cWHKB3A7roHJ8N+z8UrEupt8znw8w3pDNk3104nflc8wsvxKhADgiEueDgJKhN1PzRvKjw80w5fCsb+LUPGYw8eRWH+WtCAGA+kAA/vETcPRlsbMZNwe9Nalo8Yul0BLoLmUvvuLoItDah/ENorPWAcnuq7zIR7q1PA/cHth+gD1qq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N8yQeLsqAE0d8cqTx7R7rdj0dQFBAux//6/6VVPkzGTrctQHrW+oI63BCY5eKKwh5+0STrj+7Mvx608MlHirJ5bhIPYbf1dXiyl+zkrucOkLKLqWMlWcWkdMefwiyyaJy4KmVl6A==; 5:39l76fq6MIQMprsWrX7vW9fts0UdTMhMULKfyLRFTigggrI+FVXVsCr3FmxCp6/TGYew3e37dVFJQ1IAWxQVyVqRZ+m9cZlXDxghQZn06eG0ZffiHBG3B3jNUmw/k2biihH1Ti0JAiw7mJgLVDMOnijbmKJ0XJ7Ci5px1GYazGM=; 7:0/VOgXbinN81CMEXZRI/sfY1PzrgTm69fydcks+Ttt6/75SnNcJ9vzvyL6Z/VcPUdON5dXw09zn0cpQLbb8Tli1m2GpDea+Xj5ot3CsK8c1di/CHPXBmXa4u5L/gFvagDZ5gPGS0T71WJhVPxPe09hWVBNrgNkDtRhv+eWUjMYLqoOWROgw+wX/6nfein3LDWj3pG8u88dE1/X3brk2A1IT8XrVCWItMz2wAH0Qq0RqKjMJUTyCjk76dL+8hrMX/ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR08MB3264; 20:0rOKq66dnhDQeQxPksiaa1ZlhMDNReTSgvVgEOM7qIO5UdIJQ0kYcLTrVngnvBOFC4MoYGAAeZB4GNb/5fK5FsovR/uiABuiSJZghb24uN/FvLTaZOgvO80o7XJ643Tk3c256j/yjJFlbqGBw4uvbHbfaSyS3L6eNRo9q1okKZw= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2018 13:56:19.1461 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a89c1e23-7118-465c-2623-08d61f00d7f8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3264 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180920_065635_443791_D40CCF33 X-CRM114-Status: UNSURE ( 9.23 ) 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: Mark Rutland <mark.rutland@arm.com>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, Alexander Potapenko <glider@google.com>, linux-arm-kernel@lists.infradead.org, Andrey Ryabinin <aryabinin@virtuozzo.com>, Andrew Morton <akpm@linux-foundation.org>, Kyeongdon Kim <kyeongdon.kim@lge.com>, Dmitry Vyukov <dvyukov@google.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 |
Series |
[v2,1/3] linkage.h: Align weak symbols.
|
expand
|
On Thu, Sep 20, 2018 at 04:56:29PM +0300, Andrey Ryabinin wrote: > Since WEAK() supposed to be used instead of ENTRY() to define weak > symbols, but unlike ENTRY() it doesn't have ALIGN directive. > It seems there is no actual reason to not have, so let's add > ALIGN to WEAK() too. > > Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com> > --- > include/linux/linkage.h | 1 + > 1 file changed, 1 insertion(+) Looks sensible to me: Acked-by: Will Deacon <will.deacon@arm.com> Will > diff --git a/include/linux/linkage.h b/include/linux/linkage.h > index d7618c41f74c..7c47b1a471d4 100644 > --- a/include/linux/linkage.h > +++ b/include/linux/linkage.h > @@ -90,6 +90,7 @@ > #ifndef WEAK > #define WEAK(name) \ > .weak name ASM_NL \ > + ALIGN ASM_NL \ > name: > #endif > > -- > 2.16.4 >
diff --git a/include/linux/linkage.h b/include/linux/linkage.h index d7618c41f74c..7c47b1a471d4 100644 --- a/include/linux/linkage.h +++ b/include/linux/linkage.h @@ -90,6 +90,7 @@ #ifndef WEAK #define WEAK(name) \ .weak name ASM_NL \ + ALIGN ASM_NL \ name: #endif
Since WEAK() supposed to be used instead of ENTRY() to define weak symbols, but unlike ENTRY() it doesn't have ALIGN directive. It seems there is no actual reason to not have, so let's add ALIGN to WEAK() too. Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com> --- include/linux/linkage.h | 1 + 1 file changed, 1 insertion(+)