Message ID | 20190812215052.71840-8-ndesaulniers@google.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp76435ily; Mon, 12 Aug 2019 14:52:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqyG44R/8Cu2nsrUYTM73McSh8je1wuQhUR2KkMLPBhylB9ef90+0iGG8A1RdEYYQTisMqVL X-Received: by 2002:a63:b74e:: with SMTP id w14mr32383605pgt.264.1565646733024; Mon, 12 Aug 2019 14:52:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565646733; cv=none; d=google.com; s=arc-20160816; b=r1ZjOoBqUAUihqCnpUjIqDhdsLQrDLDgvDrRD8wzsUqYFLeP1gm3Q/ayBK55Q9nE6c WIBsm45zYy67CNMfRAbxs9Yc/VHS4DZIwkZzoXEobxTHc1LyAYDyGoNi4OzYAKvKkknS a24fDekKs81d+t2vVCTP2/nffL5EL33Lpoeu/015mAnk1PNsDzi0ToGkG9bCag3ECXTS +u1aaMGYMTpzmAXUe4O+jsYQCBNUJ8T6SuPxHTMJzDwoKNbS/NGXF4U7qO95ke+zWvqz mWj1R2t+BzSo7mlE7hUyC7L1rCco8g6MA7jl6EizzAnU88PGoA1hgl3mx3JOwUP+tExy oy/w== 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=q0pM2ZOzYJiqEFARYUko9qZH/ZZGqfD1MaH3ngq3us8=; b=SMuByFmIV5IBfVSNCCRg4vyYaVZ+NG3m/id7NCuinAlrAJiZyOoxy0PLVsj8ePXGF6 vM7ImSWcnwEy7L6sceDLZHzCmwIs+28QEPzxl7Ej4oFqJrflGEYoVN5CcetO1kg3Qzw3 mMxK7ZDC/4iByCGEa6d13WdQ5S41I5KgPoSMCNktBBs0kHIDOZwbpz0ERWMI+n+BwuVF Xx2sxKH05WMGqkhc/2gykmRnaJffgk5/8HUQ18BA8iJndx/wfZ6QkAUVcfWrT2r310IN LO2MTG1FfKzcKEX6IBTPH6Rk7w7ox7f8HKGXcVssIDLy65nhts1wATj/hAYsaUVUhCiO qkug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=I5dGVSJw; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: <netdev-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b5si466272pjo.26.2019.08.12.14.52.12; Mon, 12 Aug 2019 14:52:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-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=I5dGVSJw; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 S1727845AbfHLVwM (ORCPT <rfc822;dan.rue@linaro.org> + 8 others); Mon, 12 Aug 2019 17:52:12 -0400 Received: from mail-yw1-f73.google.com ([209.85.161.73]:43643 "EHLO mail-yw1-f73.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727811AbfHLVwK (ORCPT <rfc822;netdev@vger.kernel.org>); Mon, 12 Aug 2019 17:52:10 -0400 Received: by mail-yw1-f73.google.com with SMTP id b188so77903287ywb.10 for <netdev@vger.kernel.org>; Mon, 12 Aug 2019 14:52:10 -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=q0pM2ZOzYJiqEFARYUko9qZH/ZZGqfD1MaH3ngq3us8=; b=I5dGVSJwg+v5RyOEC5gi6oytJS0yW4Mmt+c5xThJQxWY5OwURmEGt6K8eSF+EP+4xu GWwPrzEgPlmom5u3yG+mZn+HMrBWpuoLnyRNOlMaBcSAQVMFjL1WwGTWu+h7UCq/edOu IPYgNr5h5jsFfbpOYcOPgU3hxgjjymdwaD1Os4IRGlzRO5zwXEbOr/J2EEIZ56I/YU9r 66AwX7+wwFlPujGUTM80/eieOR0jQG+KnscBiHOUapeinqDEidNrRFDbQmV1qSYPXlBt x2wzJDK4lftnnSeYI2g4mn2UraIxEOp9NQ2HP3bcmiyvE5m6RB2vrwSKVpQ9zn9XKLzZ 2IQQ== 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=q0pM2ZOzYJiqEFARYUko9qZH/ZZGqfD1MaH3ngq3us8=; b=SyXFJW0Hd8fKiNCLfCObceWHbvUPOVw5zvUaHEY/Mgq++SRBt6shLb5hgNG4y/s0Ts 6nklijcd2yh1eEo06j5cwbtEKuFtjGQA9Phq/eCe6RaNCC98QLk6JjMkDvvjKl/q67hv dMIsZS0Ts8WTQoaCsZGTOZt6kRYm4A+On/XUvw1Kdj7Fg4yVGWeM1sukMUh312v1+mMa JOnLau4F2IMz/Y0WkxqGQMXUVI/O3qdwIWd7qa5I20vqIdcnGIf3XZVNhenRWTY4R4bg LzZDISd5q0xt/k495GO5b+C+tl5R6Y/wio+OVXNEqsDiFIHn+oXTvtqqQQM829QYBm1S woPQ== X-Gm-Message-State: APjAAAU9HHfiTdaxCmvJO7/z/zlvKgi67OHx7Ld1qbScftfccWqicpAu MnU+9c8EQcMdjaTeamD2+NuC7Xn7u6LE1UGJTDs= X-Received: by 2002:a0d:d807:: with SMTP id a7mr4425576ywe.112.1565646729583; Mon, 12 Aug 2019 14:52:09 -0700 (PDT) Date: Mon, 12 Aug 2019 14:50:41 -0700 In-Reply-To: <20190812215052.71840-1-ndesaulniers@google.com> Message-Id: <20190812215052.71840-8-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 08/16] mips: prefer __section from compiler_attributes.h From: Nick Desaulniers <ndesaulniers@google.com> 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 <ndesaulniers@google.com>, Ralf Baechle <ralf@linux-mips.org>, Paul Burton <paul.burton@mips.com>, James Hogan <jhogan@kernel.org>, Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, Martin KaFai Lau <kafai@fb.com>, Song Liu <songliubraving@fb.com>, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/arch/mips/include/asm/cache.h b/arch/mips/include/asm/cache.h index 8b14c2706aa5..af2d943580ee 100644 --- a/arch/mips/include/asm/cache.h +++ b/arch/mips/include/asm/cache.h @@ -14,6 +14,6 @@ #define L1_CACHE_SHIFT CONFIG_MIPS_L1_CACHE_SHIFT #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) -#define __read_mostly __attribute__((__section__(".data..read_mostly"))) +#define __read_mostly __section(.data..read_mostly) #endif /* _ASM_CACHE_H */
Reported-by: Sedat Dilek <sedat.dilek@gmail.com> Suggested-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> --- arch/mips/include/asm/cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.23.0.rc1.153.gdeed80330f-goog