From patchwork Mon Aug 12 21:50:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Desaulniers X-Patchwork-Id: 171121 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp75964ily; Mon, 12 Aug 2019 14:51:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9xDWxyOTppU0bsGQQB5kxO3eBdIjx58YGQ9xI+XwFCGN1Mxm9zdQ1PT2eLS5DfenxUcJR X-Received: by 2002:a17:902:d894:: with SMTP id b20mr29293340plz.134.1565646700556; Mon, 12 Aug 2019 14:51:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565646700; cv=none; d=google.com; s=arc-20160816; b=JJeivIp1cZXhjZf8nCramHcgQQSP/4+e1KEB/rPYFldPKKrepLPSlaxVIPlEdX3adG 2EGRcQQxk3Pxh7o6FTjCnNTlp6+PssHRbjGo+JbJZhBBBm6sSh1plxsTPs3rCiJycHml Q4mFWXbMmCo5+ayPknNNJTYJGFmRHn7DYq/xW9axxMEEWUO0dZVhSubdTwMKRv8ypA0D Kmy46TrgyRnS43xFHm2wGZhi0mSUQE1qTi6JDLpXTWnePxNcmPqKyqvlyvlqIl2EvoUV 2voee8raZdSudKGTcUNY1XZyoBhct1tjjN2LEECsmkUu8vPokAyuRGeh/aOXa6NHoJRH Dd4Q== 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=Ci0/dDTEQ/TKTYA4PTTz/x+w1WNnSFlT+0iZElVTbkg=; b=mv7OtwxzFiI64LLhgSg6+9Tyexftv4Li2+cHoavD145qJVoHiBJ426nd3PU3uxLe80 EWRt8Q3ANBz5rFiFOBnU5zQ+n1+5iBYW6oDU2QkIyBL4iQm+XkUrVN5Bs8kUXTh6UgOZ VnknLOtWmfo2vkpZ2fTumQk6tPtcvfR0HYO0zdsfcjOTCLR/xfyEtZa52nrWgCNVsrLT x+Ia9ySt/lSM56XYEPFZ5AyQPifrql5TIjEEx2M8xsNtDdYYE4ixZ4cjJzl4ZOvJZUgM dNc14ibsABKnMPc0UHGeUcH9GR/PizkSBNICqKFZQPd+lftKGeoTDzOoVK/HD9nshCcW GQjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Qz1M7PvU; 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 j187si62991745pge.591.2019.08.12.14.51.40; Mon, 12 Aug 2019 14:51:40 -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=Qz1M7PvU; 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 S1727722AbfHLVvj (ORCPT + 28 others); Mon, 12 Aug 2019 17:51:39 -0400 Received: from mail-qk1-f201.google.com ([209.85.222.201]:47140 "EHLO mail-qk1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726200AbfHLVvi (ORCPT ); Mon, 12 Aug 2019 17:51:38 -0400 Received: by mail-qk1-f201.google.com with SMTP id y67so2488325qkc.14 for ; Mon, 12 Aug 2019 14:51:38 -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=Ci0/dDTEQ/TKTYA4PTTz/x+w1WNnSFlT+0iZElVTbkg=; b=Qz1M7PvURpf39A2GyB2ThYI6sZWekP4kv2/wK2aFuwloN8lbCxPc3rjZudsxak4kpn ajMlDmgK9Lu/NgFxIw4npr3+GQxp/RQRN77R18W7n5T1GJzD68w0MkzsXaIMJTN2I3Le IHTkYpbbFG1xRAubUMnsy18g9+4aGGoJv5yhML4ehVYces0T86ip2lzBf4TV3/1dBFmz rkizrYzDKRP1z/p0c9ysugw9oGhpmhEmP4orYaxGYbj9wc0ZPxEtrXqTMSL0umYO8f9P ZwBLT+KUw35Au9CQtI70zlZPeMbTJ6ylaDdbqr04CdqMW5iZjo+waL464CSdJCPaWl3S Z3Ng== 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=Ci0/dDTEQ/TKTYA4PTTz/x+w1WNnSFlT+0iZElVTbkg=; b=O96RQoFA3Rrtzp49Bwr1iF35pvgOXeweqkkN6UZOgZGpWPkaAbJwIzWmnNnUhoWDOI McvfbXYLdMFk5apETtDYbn3JgOfEDrRg6/BwflzWOkDAOwP9TW7PHAVq649G8/N6IjjV OEl/4UBPLS/x1QSOXWMQaRWyX4q8iLfDCSN79U2fIsxkUAUP+hPdk481yX2GiIejcMna 2laBLjwFz6HbKaSU6I5oGTTfBvm+cAAK7aRg5Wk2En7q9oE+ktXJ8e+0KKfMjGFZJZjJ wflXnQwwRMnVbibLA8U7yu4FwVDno/IsT/iKr9aj0ZHodVeN9t2j3UGta4xW0h7xGoLZ RimQ== X-Gm-Message-State: APjAAAUlfukEcpi/dKqDpwPmw9UMYQFwA8CEyGZVUJoM5L9KsKRZ918X nmIQ1aXQBduj/beFljOnOEUGOvTPvgOevxCilaM= X-Received: by 2002:a0c:98e9:: with SMTP id g38mr31135758qvd.187.1565646697667; Mon, 12 Aug 2019 14:51:37 -0700 (PDT) Date: Mon, 12 Aug 2019 14:50:36 -0700 In-Reply-To: <20190812215052.71840-1-ndesaulniers@google.com> Message-Id: <20190812215052.71840-3-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 03/16] parisc: 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 , "James E.J. Bottomley" , Helge Deller , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , John David Anglin , linux-parisc@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/parisc/include/asm/cache.h | 2 +- arch/parisc/include/asm/ldcw.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.23.0.rc1.153.gdeed80330f-goog diff --git a/arch/parisc/include/asm/cache.h b/arch/parisc/include/asm/cache.h index 73ca89a47f49..e5de3f897633 100644 --- a/arch/parisc/include/asm/cache.h +++ b/arch/parisc/include/asm/cache.h @@ -22,7 +22,7 @@ #define ARCH_DMA_MINALIGN L1_CACHE_BYTES -#define __read_mostly __attribute__((__section__(".data..read_mostly"))) +#define __read_mostly __section(.data..read_mostly) void parisc_cache_init(void); /* initializes cache-flushing */ void disable_sr_hashing_asm(int); /* low level support for above */ diff --git a/arch/parisc/include/asm/ldcw.h b/arch/parisc/include/asm/ldcw.h index 3eb4bfc1fb36..e080143e79a3 100644 --- a/arch/parisc/include/asm/ldcw.h +++ b/arch/parisc/include/asm/ldcw.h @@ -52,7 +52,7 @@ }) #ifdef CONFIG_SMP -# define __lock_aligned __attribute__((__section__(".data..lock_aligned"))) +# define __lock_aligned __section(.data..lock_aligned) #endif #endif /* __PARISC_LDCW_H */