Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp227520ybl; Mon, 12 Aug 2019 15:09:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRh8WYFKS5P5qAvlZlJ+FVZXnjngZSWro/0iHIS/jESYSI4KAJbrQ6XpWSSDYFlHcm1Z4S X-Received: by 2002:a65:6546:: with SMTP id a6mr32984320pgw.220.1565647795678; Mon, 12 Aug 2019 15:09:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565647795; cv=none; d=google.com; s=arc-20160816; b=PY8vIa/nxAXPdz4rDeNLjZ/hFmoLxAvHFZUcF20cxTXUYCURonF0hR8fVwlqf9goEX 6t5POGzFP/BAXFfhrPbddPy76ppVCMILFS6IuJFGfBioT5zufyfnSdR/CrRPYeKKbRL/ +Ik8eoYTzSUMAUfGJj8HHfoD7EL1OCn+6Y5PW8FutaeJ5d0/pt0M29eMu9dzvKcR4Kp6 0SZVQ1snJoOGUxl6CYTjkBM/LARNHf/tbdycrDLsVJXfmiagpxI+JVdUU7TGBRr2/WDF VkEafdrvixaomupi8Fdn2gIQqWuSjN1Wp6ojJn4FxHI6sciPZePs1Y7b9ZP/+Twc8S28 F2Sg== 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=+V6H61t/WhJBtoDgPI8KA/pTwpjh8ARqkJflJLJFNkA=; b=D4AERoVYOsEJlY072LjwtVLtabXUkVz3hKRYy2EQ+aVKjyJMo/dzyNkotaQobr7rIM v0S1FEopIu69O+VMy5kpxiVatfUH0UEeE5e6kJgi55l4BUWaG8m1O/tdru4EVN01M38i TzmxE96lf0nvGGzvxTkrZCYXxaXSvU23ETeCf6X0WDiBK71B2An12UtrV6745Q/FzlmL 4C3c0Nlol/RL+oUf1tDGnnppRFZdGKJrQbg4U57nDnyVRx4xUCRCfy2p1sCX8gEB8N3b 4ONQ4WgH/CpEVcanH6q90MKfb/YLb2dg8JQy3lypF5TREGEpvrzhMJLXc43Rd1P8nNld 3Uqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="B1M/tQcz"; 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 f98si41440470plb.256.2019.08.12.15.09.39; Mon, 12 Aug 2019 15:09:55 -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="B1M/tQcz"; 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 S1727754AbfHLVvq (ORCPT + 99 others); Mon, 12 Aug 2019 17:51:46 -0400 Received: from mail-pg1-f201.google.com ([209.85.215.201]:42983 "EHLO mail-pg1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727726AbfHLVvp (ORCPT ); Mon, 12 Aug 2019 17:51:45 -0400 Received: by mail-pg1-f201.google.com with SMTP id l12so18687503pgt.9 for ; Mon, 12 Aug 2019 14:51:44 -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=+V6H61t/WhJBtoDgPI8KA/pTwpjh8ARqkJflJLJFNkA=; b=B1M/tQczf/XakLDt4Inap3j9ElF/nZDax8kM67P0+4rSAEH7C64FdFFYSLrRzqKkYX 0BjVEzzXsoy4prlbQ9UO0XjUaVioPsJepUdinCXmNmWblyLhMttRjyNxD395r0K07Uzq +/vSotQ5Btm7RMFUZCamhb3TLsBzJCaWms2wf2rRuXQexO/KFVHurKufzwuszAO9xl8y /c8iAdvW+4Z8pgK6ZZu2qf3nKfh7SLjj/Z2XrgIF3XmS8VDTsFKsRyWO7EKfHlCChLLB Ynh+8+O0K3H3ODFi/7qj3ZBp5fP0ts2nLOsZEEbcDm3suCCsaDUMEh0gh9cDLV1vqruy dkgQ== 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=+V6H61t/WhJBtoDgPI8KA/pTwpjh8ARqkJflJLJFNkA=; b=Xh33YHnxVFSiy9OY/xDHM3ypGSbv6JYtmgBaW4dSMqiMVCuOjEYsLADCLUDiCYK41o 76uqxmU880bjqKrDOi4e8HEv1L+S4AU7p8hNxo/Q6xRj7XbnwYPUgqNrIhQROAp5TmOy 360r7uBm8cUejL3/Si7mn537ZrDN61wpiPAHibqT7YqTiQWByXIYtyF6w7UCrubeZZo4 e4MKbs+YG39gFa2cF/0Z8sbVEJrmp7yQ5E777hybFGNrpzctpSGnXuKdRuTigWYyToBN 52HLmYEgPSNyaWahZ8w4BsEQpJZJi6PG+T6f8zNERv71u2m6MxkfsilCQSz1F+CfgAk0 NHwA== X-Gm-Message-State: APjAAAVrGclZzPt7aliqLySz+o6CiaJcjUoNI3rMbupKKhZycAVsuUEd UMmqVcSugqby/JdKKpTZD1RA6cHh22XvaklSObg= X-Received: by 2002:a65:68d9:: with SMTP id k25mr32098928pgt.337.1565646704006; Mon, 12 Aug 2019 14:51:44 -0700 (PDT) Date: Mon, 12 Aug 2019 14:50:37 -0700 In-Reply-To: <20190812215052.71840-1-ndesaulniers@google.com> Message-Id: <20190812215052.71840-4-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 04/16] um: 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 , Jeff Dike , Richard Weinberger , Anton Ivanov , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , linux-um@lists.infradead.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/um/kernel/um_arch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index a818ccef30ca..18e0287dd97e 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -52,9 +52,9 @@ struct cpuinfo_um boot_cpu_data = { .ipi_pipe = { -1, -1 } }; -union thread_union cpu0_irqstack - __attribute__((__section__(".data..init_irqstack"))) = - { .thread_info = INIT_THREAD_INFO(init_task) }; +union thread_union cpu0_irqstack __section(.data..init_irqstack) = { + .thread_info = INIT_THREAD_INFO(init_task) +}; /* Changed in setup_arch, which is called in early boot */ static char host_info[(__NEW_UTS_LEN + 1) * 5]; -- 2.23.0.rc1.153.gdeed80330f-goog