From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57BA9C4727C for ; Wed, 30 Sep 2020 22:12:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1BF1D206FC for ; Wed, 30 Sep 2020 22:12:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730269AbgI3WMf (ORCPT ); Wed, 30 Sep 2020 18:12:35 -0400 Received: from smtprelay0074.hostedemail.com ([216.40.44.74]:44260 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728721AbgI3WMf (ORCPT ); Wed, 30 Sep 2020 18:12:35 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 92DD9837F253; Wed, 30 Sep 2020 22:12:34 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: spade98_570bff827196 X-Filterd-Recvd-Size: 2684 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf02.hostedemail.com (Postfix) with ESMTPA; Wed, 30 Sep 2020 22:12:32 +0000 (UTC) Message-ID: Subject: Re: [RFC PATCH next-20200930] treewide: Convert macro and uses of __section(foo) to __section("foo") From: Joe Perches To: Nick Desaulniers Cc: Sedat Dilek , "Paul E . McKenney" , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Josh Triplett , Kees Cook , LKML , rcu@vger.kernel.org, Clang-Built-Linux ML , Miguel Ojeda , Michael Ellerman Date: Wed, 30 Sep 2020 15:12:31 -0700 In-Reply-To: <417ffa3fd3fba5d4a481db6a0b0c9b48cbbb17c4.camel@perches.com> References: <20200929192549.501516-1-ndesaulniers@google.com> <133589afbe999347454dfcc46ae782897bf9e3a2.camel@perches.com> <46f69161e60b802488ba8c8f3f8bbf922aa3b49b.camel@perches.com> <417ffa3fd3fba5d4a481db6a0b0c9b48cbbb17c4.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.4-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org On Wed, 2020-09-30 at 15:06 -0700, Joe Perches wrote: > Perhaps these are also possible files that need exclusions: > > ./arch/x86/boot/video.h:#define __videocard struct card_info __section(".videocards") __attribute__((used)) > ./arch/x86/boot/compressed/pgtable_64.c:unsigned long *trampoline_32bit __section(".data"); > ./arch/x86/boot/tty.c:static void __section(".inittext") serial_putchar(int ch) > ./arch/x86/boot/tty.c:static void __section(".inittext") bios_putchar(int ch) > ./arch/x86/boot/tty.c:void __section(".inittext") putchar(int ch) > ./arch/x86/boot/tty.c:void __section(".inittext") puts(const char *str) > ./arch/s390/boot/startup.c:static struct diag210 _diag210_tmp_dma __section(".dma.data"); > ./arch/powerpc/boot/main.c: __section("__builtin_cmdline"); > ./arch/powerpc/boot/ps3.c: __section("__builtin_cmdline"); It looks like all of the arch/x86, and arch/s390 files are fine but both of the arch/powerpc/boot files need modification.