Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp260649ybl; Mon, 12 Aug 2019 15:55:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6hFDbmQeB6ss45yBVFUKX9GKcapJELh5wLkl8xOFgI/zS8oAwKDf99DKeVLH+VzTa5hdD X-Received: by 2002:a62:1444:: with SMTP id 65mr37341986pfu.145.1565650556208; Mon, 12 Aug 2019 15:55:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565650556; cv=none; d=google.com; s=arc-20160816; b=xFiVYuH7KCZnj/EmOdyBlr3kGOXez8oykavq8t97lFlLQnZGzPw+KbQ0Ave/GgqLvF qI9zOixH/LNef/wSWcHtPnQewyQSeyEc2c9QxHR7Zg1kSxhAuwsRP/FEyPgImVbvrfNM Bc4bTZVwoorVt6ccrbU8B/wcxVYehOSWlv/8JPJnao8j71PL8Hc412gLLiDi0Z50jE3c fjbQCTPJDQfWFOquTK2A/9IOpCNQ7ctOfakXn+6gUDlmnuBEApngcYaZMO0HNDT34L4B HWWBpzFcyilPBxPv8jCufJ/VfFSULVPiOu26GgSNvP952hBaVJE1Bi0VoWlJU29tcpJJ xFOQ== 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 p13si56904967plo.33.2019.08.12.15.55.40; Mon, 12 Aug 2019 15:55:56 -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 S1727716AbfHLVvj (ORCPT + 99 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 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/parisc/include/asm/cache.h | 2 +- arch/parisc/include/asm/ldcw.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.23.0.rc1.153.gdeed80330f-goog