Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp212823ybl; Mon, 12 Aug 2019 14:52:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzS9KAG1EE9pcanpUIItFvyVkvxbn+X2fy54MGQn+6ONC9hfjqo/cWGk36nVm7V59w6uCXu X-Received: by 2002:a63:755e:: with SMTP id f30mr31943595pgn.246.1565646774602; Mon, 12 Aug 2019 14:52:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565646774; cv=none; d=google.com; s=arc-20160816; b=yJqs6Lw0RHWNnfkssKWX701H//7atoRBs9I3GfTa1rF4JSdeqzathdEvIGe0PVLrTW ZTutI3drMkQyp7FCLTjHqZTyVTaLXikn9Dx5LKx8gyriCsl2mtUhOkAKyv7fnlOWLI8M 1G1jDJO1XgTZYM+JxoAmiRF8g385LJDpyVAPmRDa8Bgd4qldFWvMrMSMKZpW3sUc0jbC lbLPGtMEoWhsbkF/j73UIdHkelL/qUWb1oKhmyXQQHeRU0GpdcclnVQqeqJLlEctjWZQ kLwJZLc2VrknorVq0/KpvpcJ1zQjs/7f08yHmDE07foO7QmDSbUYhNSu7U9td+rBIeTG p6Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=dkl7/UCGpL+NlP2/x1g4PAFoM8egHhu+Vinm7RBGZqk=; b=J0N3nl0n3lP37QemNsRqC4bE7Gk4hnQiENeMLOEapmAnDbrdq77AtZtlbCJFzNXTaW u9Ywq7QNLiQj7qvyMfn5pynbnQrtQ9lDTFpC0GcnlLpRzIK5r8sdogsxuf1XmWdjvKZt QwM3mQy7iDMg+rlZ9z2xoA73KYAj0i+gj6OGTTyQx0o2ztkEccP9NqJyjkn8+M3VgQxD Xn0fgKzANqMIsScoxvRIZgoD1jcNaG9nvBhQ8ywcxRTmh0hiR5zOaBR7E/b7egSZbrJP ZcM3gx7/zoWrXG36IKbAKZH9RCImHAAIXgVkIDZBQTWMakS6Zuv1FEflqooyCss1d6W4 g4Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=J+mGdp7X; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a6si444405pjo.91.2019.08.12.14.52.39; Mon, 12 Aug 2019 14:52:54 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=J+mGdp7X; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727765AbfHLVvw (ORCPT + 99 others); Mon, 12 Aug 2019 17:51:52 -0400 Received: from mail-qt1-f201.google.com ([209.85.160.201]:35435 "EHLO mail-qt1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727726AbfHLVvu (ORCPT ); Mon, 12 Aug 2019 17:51:50 -0400 Received: by mail-qt1-f201.google.com with SMTP id f28so98059804qtg.2 for ; Mon, 12 Aug 2019 14:51:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=dkl7/UCGpL+NlP2/x1g4PAFoM8egHhu+Vinm7RBGZqk=; b=J+mGdp7Xm+87VwfjayUFTm4z6KIjoLKr3G5/6jbsKjKiWWIavprKB+X7dmk0l9Bx8F onSRT1QJl9t/AsSUb7lT5itZEaf1B4LthCvRbfAWbm/I4HV9vsfjoxoUO6mofTuRYqBk QTMiE2dznF57pZEAp4uQD5dk+pVLIclEK1thrPGBYjJh5Sxq9A2Qq/K1ErbvAnsf/NbL H0siglRdh1L/K6vWMFosRpOdO6OhF8/2McAILUeNkj8aeoy+x9pm/NMyc5ueAlhUBX7q 7F81YB86R3OsMbHXv+SUQCqqSSDQh7B55g3uz+4czgFjrQGi1eUJ/VLLgzCmLQxj34Bi PjzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=dkl7/UCGpL+NlP2/x1g4PAFoM8egHhu+Vinm7RBGZqk=; b=MC8gfPItULe3jQCvIxTf3sxZkdKffc40e+yF46I/slo5Hxdeh5VgpGA0wJgIlbveij O6MSDyNgQkta/jtCcAGcZcKE1caMb7iRjcpy6qEE8vV2xKiySo7m+flTig3XBrLro8kj huoLNevyQSe0/HQ3igSNPR8K6TnkvPXrXw9vzbxzk2gJZsp8bTOPCZU2SoCEZwhgaljN EeSXtmm8RKKmDOde926JKaQWqLtCiB3LjhsoFV4JJrLO+pfumEIiNsUs42ItHCOLvDED A8uQRoDp+A3IwfCYyPZUKARE2k4oo7XZZaFsBzkJz/38uYBWv/wQMvbPrNUUIUXStCel qeaw== X-Gm-Message-State: APjAAAV6UaPlHSw76Aa7C2bOFBf9z6vYMEfbVipzYGQlZAgSRmJMcc24 XZvz/LCMuzXxyw/wNT+lFxDG6wLi4+P/MGWi+4s= X-Received: by 2002:a05:6214:1086:: with SMTP id o6mr17437802qvr.107.1565646709559; Mon, 12 Aug 2019 14:51:49 -0700 (PDT) Date: Mon, 12 Aug 2019 14:50:38 -0700 In-Reply-To: <20190812215052.71840-1-ndesaulniers@google.com> Message-Id: <20190812215052.71840-5-ndesaulniers@google.com> Mime-Version: 1.0 References: <20190812215052.71840-1-ndesaulniers@google.com> X-Mailer: git-send-email 2.23.0.rc1.153.gdeed80330f-goog Subject: [PATCH 05/16] sh: prefer __section from compiler_attributes.h From: Nick Desaulniers To: akpm@linux-foundation.org Cc: sedat.dilek@gmail.com, jpoimboe@redhat.com, yhs@fb.com, miguel.ojeda.sandonis@gmail.com, clang-built-linux@googlegroups.com, Nick Desaulniers , Yoshinori Sato , 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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