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=-6.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 790E5C32750 for ; Tue, 13 Aug 2019 08:51:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5651620673 for ; Tue, 13 Aug 2019 08:51:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727804AbfHMIvb (ORCPT ); Tue, 13 Aug 2019 04:51:31 -0400 Received: from mail01.asahi-net.or.jp ([202.224.55.13]:33696 "EHLO mail01.asahi-net.or.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726705AbfHMIva (ORCPT ); Tue, 13 Aug 2019 04:51:30 -0400 Received: from h61-195-96-97.vps.ablenet.jp (h61-195-96-97.ablenetvps.ne.jp [61.195.96.97]) (Authenticated sender: PQ4Y-STU) by mail01.asahi-net.or.jp (Postfix) with ESMTPA id B8D031321BA; Tue, 13 Aug 2019 17:51:27 +0900 (JST) Received: from yo-satoh-debian.ysato.ml (ZM005235.ppp.dion.ne.jp [222.8.5.235]) by h61-195-96-97.vps.ablenet.jp (Postfix) with ESMTPSA id 13510240085; Tue, 13 Aug 2019 17:51:27 +0900 (JST) Date: Tue, 13 Aug 2019 17:51:26 +0900 Message-ID: <875zn1phwx.wl-ysato@users.sourceforge.jp> From: Yoshinori Sato To: Nick Desaulniers Cc: akpm@linux-foundation.org, sedat.dilek@gmail.com, jpoimboe@redhat.com, yhs@fb.com, miguel.ojeda.sandonis@gmail.com, clang-built-linux@googlegroups.com, Rich Felker , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH 05/16] sh: prefer __section from compiler_attributes.h In-Reply-To: <20190812215052.71840-5-ndesaulniers@google.com> References: <20190812215052.71840-1-ndesaulniers@google.com> <20190812215052.71840-5-ndesaulniers@google.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 13 Aug 2019 06:50:38 +0900, Nick Desaulniers wrote: > > Reported-by: Sedat Dilek > Suggested-by: Josh Poimboeuf > Signed-off-by: Nick Desaulniers > --- > arch/sh/include/asm/cache.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/sh/include/asm/cache.h b/arch/sh/include/asm/cache.h > index 2408ac4873aa..07ddf31124a3 100644 > --- a/arch/sh/include/asm/cache.h > +++ b/arch/sh/include/asm/cache.h > @@ -15,7 +15,7 @@ > > #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) > > -#define __read_mostly __attribute__((__section__(".data..read_mostly"))) > +#define __read_mostly __section(.data..read_mostly) > > #ifndef __ASSEMBLY__ > struct cache_info { > -- > 2.23.0.rc1.153.gdeed80330f-goog > Applied sh-next. Thanks. -- Yosinori Sato