From patchwork Mon Aug 12 21:50:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Desaulniers X-Patchwork-Id: 171123 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp76170ily; Mon, 12 Aug 2019 14:51:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdCCZa3EbCm3/4qX3kJu03i9Cj+kQuT9vFGcW1No7KJMAk/jJogrVxDDkpI5x//w6HduiT X-Received: by 2002:a17:90b:f12:: with SMTP id br18mr1150719pjb.127.1565646714159; Mon, 12 Aug 2019 14:51:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565646714; cv=none; d=google.com; s=arc-20160816; b=cxVbr6k7FvaQcDNN8/aHuJiCDdZiB66WnA4s8NSs3Y2nnISL8AusNpWN1wDTUX+1Pf a5aspf5Jk4zEHeCuxSFGTmIdURLz2nPlJiQ80f1q7x2vKnYRuDUO0ARTBwGeBBD/gPSf xD35dtXF77lPw8O4OeT2aXkvSFT5SmQRhteT1EMAGS9Qsyv10chVUfvVz+qWqew2hiJ4 A3zLOrHRIsrsx5shfG1J/RXrCbmtKref+/8dor0VP6wKVUVKyyy+DxncSnIyfUtO7me4 /e4vqZ5GuLAjfsuE/DWKQLS/pH0YIeb9nOjMNYtSaeOVAyEq6AeQF0MbPELWVU3XVqef jpcg== 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 j23si63859955pgh.535.2019.08.12.14.51.53; Mon, 12 Aug 2019 14:51: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 S1727784AbfHLVvx (ORCPT + 28 others); Mon, 12 Aug 2019 17:51:53 -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 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(-) -- 2.23.0.rc1.153.gdeed80330f-goog 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 {