Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp213183ybl; Mon, 12 Aug 2019 14:53:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZG4rJNaQsH7nSy0doCDrX7ClNtz/QIL6XQ2vpU0QC8WqNvJhBC5Rgff+Xe2njazqki5UH X-Received: by 2002:a17:90a:8a15:: with SMTP id w21mr1262791pjn.134.1565646801927; Mon, 12 Aug 2019 14:53:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565646801; cv=none; d=google.com; s=arc-20160816; b=Oluea8P8byFfa1WKUI1cYVVJu7tou0gz8q4rCua5UeJT/Kf/SLVs0WpfMh8t/7aCyM qVmiT7bvHgdYVcThJiRMV+/mYmQlf/4y6DvwiV8hqlSsiykQRM3VSOj4zZ47dOhxfG0V PBD925FNgN07utDj9E8D5+tnDrHt4GRNyYxDm//ockXlhCdhqLbTqPwB/oOSe9SEZTZk u1eKRf4FyhiK60h2NEjhJ5TnkSFMzrjcXFoZXyU706kj6NsOFdA4HUJnbjOpb48htm7R 07GiUM9tiy3rWX3Y07FOdeW3EFtLbsc0NCRNlW4vkihnbA8mC7PmFF6ev9qZHXadDhO2 SzJg== 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=i7ttDvgucFPMVuEhHkRdJMztYYmvjWdN9K+gRWT1k7ZqB/G4vhcFeRoYre8w5zOgQG ysQtER8hGMksGC0lQVVh0H6tFZ0Q+1dMhkO1cs1Ld6K91bYrGWQYvb/CgEXUNfsV7pqj h/GNAK+iK+YaSp/ij2KfBbmAmZ66jjM97G04AQOUYv+0l+ilDWrlTTqDLqCknYkUGQlw yJvNI+7FCV9NqmbCVJuApD4QWuj9JKE77MlXfht57fYuNnXxa0OBJ8IqzYnACKubjWTd wKM2zTibaGejr5VjS3JmX/RGPfVoTZkLlBO1sal2qB04BEKHbgKyNj9KvnbNnQMqMrXP EHog== 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 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 z190si66192966pgd.303.2019.08.12.14.53.06; Mon, 12 Aug 2019 14:53:21 -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=I5dGVSJw; 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 S1727848AbfHLVwM (ORCPT + 99 others); Mon, 12 Aug 2019 17:52:12 -0400 Received: from mail-yw1-f73.google.com ([209.85.161.73]:53429 "EHLO mail-yw1-f73.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727831AbfHLVwK (ORCPT ); Mon, 12 Aug 2019 17:52:10 -0400 Received: by mail-yw1-f73.google.com with SMTP id c199so1744139ywb.20 for ; 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=PjC5ZPb0o4u56leIx2Q9rtlJtbLf8ras09E0eyh+5+qGBABf3Guf1iRQ7uMCEdC6O2 hh6w3BaZT5sA+JGZQZaBXNWm4vLzu3arZK8BbEgnidz2Ytk/zq9qq9EKup6Z+OczLH0G 6DQ0NH8OPUhEmEtBTwWs17JZMwo1M43Bi1ulx7KfCqW+OfCdIDXB7qIHOLnhuriYN28t HTP9hPW+to9RQ/7LONUAVeSpx/ZoDc6SsNQ9GEwOVT2WuJJXubzguvY0VK1HgZpMVDq4 y9qqYIW4U5tOFi2jUu2HhpzK5OUisegP5M97pofqTWzHL4m5qdY6XzkQCU5T5h5tuJEX jzng== X-Gm-Message-State: APjAAAVITlWZHHmT+AY1mNsuEl1HGeuoiUVxqe2lDtyrmErSUOIvptP9 E6HhA9/Rl4OIg8wPw90fDEXlA+KavBSobv6oFSg= 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 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 , Ralf Baechle , Paul Burton , James Hogan , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , 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: 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/mips/include/asm/cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.23.0.rc1.153.gdeed80330f-goog