Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp844227ybl; Tue, 13 Aug 2019 03:35:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxcD8CMhGpZbNTI8eFZR1QGCpTVatd+AG4W4ungx6Q3mW4YW4jEV4rZX/m3M9lyBFeNLBxH X-Received: by 2002:a17:902:ac88:: with SMTP id h8mr30714516plr.77.1565692525425; Tue, 13 Aug 2019 03:35:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565692525; cv=none; d=google.com; s=arc-20160816; b=vfsJvibI+jM7rySpVlb0nikRe71AoJtcDuRSBTm6BZMM34E7mLnNaZJpPxw7AATlo+ LRZsFUL6RMp8A3hP4XecNEH3B7I6Ov7i94JEpoVgNU7y8Bfp+777FaPF9OIHTO9QVhmx vMtYAkA6NpJMhRDwcbNy+oyQVSj2AdVXQZFtEgXv+EB24f0NxMLMOSKF3dgQ/KGwXgjk pYl2lYzoYLCroRnTzYcVWAmsoszlhJ667qOSYeJmFbUq7ZG1e/Ug0IE4cr6dyphZt6Tp 4a3nMCo2e7CCkR3k9q4QoQ7Z8Co+tWJh1y6tdGqk+VZJdO7iTKiiTdotkad/QGzlQ5fH 3+0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date; bh=ByTARrSAvmNyj6Alu2Qh9EpHVJCBea1F/66m9H09TPY=; b=WP/eVzwvFWckzz7npzb10lZ45HYCzLILKKeOOrmD6fx//BBjBmA7aMRa/bRByQgBvd eslD74E4q6N6RCSSozaVYiX2A+WzmssyBL5tI+We2ksR8F1iymnQoU23iKn4Wv0UKinu bDlnr2sTtvP38+JvStdrZxetf57Y1jMluBwmE1L7FEwRWuTOI0KyRcgwNY3k3D5C+OD3 h53JWKuRVG61YikE/k5Ri1v/UpIDgecxgseaO+XbR4Z4ZJGkBdI+FJfy5TyhYGpFjXFG Uxc1+5f+Ro9088lQxOrmnTyrJBH6Fk74s69uwOUIEOBXjo295Y1PwmNU1Sl12kPSudRi qkLg== ARC-Authentication-Results: i=1; mx.google.com; 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11si62405913pgg.200.2019.08.13.03.35.09; Tue, 13 Aug 2019 03:35:25 -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; 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 S1727758AbfHMIvb (ORCPT + 99 others); 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