Message ID | Y8FSgX0fDs5/SqSl@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp254251wrt; Fri, 13 Jan 2023 05:01:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXuIkTsb1byLK0GNNveY4ZATNY3w2NfFUqH8vwQTBJrsU61qJXwTqcefjNiIufT9oJ+4rltW X-Received: by 2002:a17:902:7488:b0:193:27da:e61d with SMTP id h8-20020a170902748800b0019327dae61dmr21039332pll.68.1673614888272; Fri, 13 Jan 2023 05:01:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673614888; cv=none; d=google.com; s=arc-20160816; b=QJ9QUaDhZ5ypciSk3J/0+c5ixIIbIrIQQVtRdCo6H8XULxTZzmR1925okaJRH7zJE0 klaZTk4mRHhhCYArC+7er1M5B+l6dn2lpBCsfXG+01P+dUNsMIvljq8SD+LUen25C24d i0aVBiEAb8aKV34B3ugBJNmAdl6eUlGBE1/kTSLLyAbFUuRYSVmJ/zbSVcCv8B4Ff8TC k4X9YNTqIqpyF+IFS6oM6KFL/fNMSW06U8yaz/KWLYBu3DxZSasM01lhX2DHDnGxfbsK V93FjPUjj67kP3nkYH2Kg1+kwv45irTumJ8jDvPaoGS+b56qNXwqH3dXgsyJ/Zgskeoj DM2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=AcHErRJ45q81GGjXiRiribjr5Anofis06MFnaHfQP8A=; b=GnGhCQxxR7rRj0zLwwlOUtGQUT4aDkTd7pw4ZbCZWIHE2w5OOXPSaK7GufrRuiMMF9 OMySdGIpC/U9VN09em1J5X8dnxFhmbMwZ74k1ejHh+f0y0WB9fhymwlaXRh5VfDcihHQ TzG34lqnidB9U3iX01Pi5VBKIX1hZ4r6hAYhLkXn8w1OfTplYLWHLx/H3dYcXh7Te6T8 23skryR5Mx42cKgl7QZ4i6cn/5PCjkpVcfa+ZqbqBA7Xib6Qk6dX0wXC1dhaLA6pWNpb XXaOAWx36sv3/9C9mpq3mmswxY0iT5asJsH7KPHKanbthm1/Nr34Cui+6/jaslOOdoRE fyZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="gE5v/WSV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c14-20020a170903234e00b0017a0e7aaf6bsi21768018plh.128.2023.01.13.05.01.15; Fri, 13 Jan 2023 05:01:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="gE5v/WSV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240742AbjAMM74 (ORCPT <rfc822;callmefire3@gmail.com> + 99 others); Fri, 13 Jan 2023 07:59:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241074AbjAMM64 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 13 Jan 2023 07:58:56 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A23D5B16D; Fri, 13 Jan 2023 04:45:59 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id ud5so52100634ejc.4; Fri, 13 Jan 2023 04:45:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=AcHErRJ45q81GGjXiRiribjr5Anofis06MFnaHfQP8A=; b=gE5v/WSVjrSut5xsLiOn7g1on0KaAbtIMutebQ2onxicQ+j4sdTSHu3jnH4FTYJg3t nVOsvPPcRVfY7T9THsEk7GLAWyEiRl4sB/zr6HnxnKXeuvJIZf1MEfDbFrIbgJIeu9Zn PQANGv90Y4oC10zujvSBzrdUCcKJ4wKBhaM3n2Qd4/7zV8F3cAbyJh6E+wISja3jxksG Ge3YjllyPU8HEU1EA/p41Aui0ZEsV/oHxR+e3f1Vnr8p04eDk/ODfvG5GUHhvi2N+3qf ephPmCC2NUBjWVYtAqrHWSeFobLjAjUtK/PtwiTK1wUmA5PQqDAvJ1/0P0INym8ELFTp jfDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AcHErRJ45q81GGjXiRiribjr5Anofis06MFnaHfQP8A=; b=33BLRoGY9s0zX/y/ftwHQYWOZoCb5Q5/mAPa+Vok8C0RRaKUWHeiAjLDYI+PNYUKhL bEhv+519IjZ96uH6cs9pTiCwAgCLkL6Iz3r1EJS1r1HFvLuJLqZyLfU4Lzaspe24KCIV Zs7RMYbnOT0SZAxBmAX53gNA0uDoOKYLRiqC0PwkEKARWUVRj91zjm5RdmIvOereHH4g f67pobrNO3ewEMg0sTEMWBe21QHRlvglK8Y7rjUEqPEw1uBBRM0Dxl9Pt6kg9YkrI3If Sp82NHvwNsl/1w4llFEzohMTZeCdgyu+tzo0WaowTqzoV5Geo8SsutZ84FN1ONSefvdz 4KYQ== X-Gm-Message-State: AFqh2kozShmX0rTEdFgWcv5m+XnVbSBNGV89YkkjogPoNpyXB/O0nqrn 5ye6gCkahyIRj2oETFLJyic= X-Received: by 2002:a17:906:5a71:b0:84d:4a2b:73b9 with SMTP id my49-20020a1709065a7100b0084d4a2b73b9mr14662505ejc.59.1673613957932; Fri, 13 Jan 2023 04:45:57 -0800 (PST) Received: from gmail.com ([31.46.242.235]) by smtp.gmail.com with ESMTPSA id 18-20020a170906211200b007c0b28b85c5sm8462298ejt.138.2023.01.13.04.45.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 04:45:57 -0800 (PST) Sender: Ingo Molnar <mingo.kernel.org@gmail.com> Date: Fri, 13 Jan 2023 13:45:53 +0100 From: Ingo Molnar <mingo@kernel.org> To: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>, Peter Zijlstra <peterz@infradead.org>, Xin Li <xin3.li@intel.com>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux Next Mailing List <linux-next@vger.kernel.org> Subject: [PATCH] x86/gsseg: Add the new <asm/gsseg.h> header to <asm/asm-prototypes.h> Message-ID: <Y8FSgX0fDs5/SqSl@gmail.com> References: <20230113125321.4c60d02f@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230113125321.4c60d02f@canb.auug.org.au> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754912404879717090?= X-GMAIL-MSGID: =?utf-8?q?1754912404879717090?= |
Series |
x86/gsseg: Add the new <asm/gsseg.h> header to <asm/asm-prototypes.h>
|
|
Commit Message
Ingo Molnar
Jan. 13, 2023, 12:45 p.m. UTC
* Stephen Rothwell <sfr@canb.auug.org.au> wrote: > Hi all, > > After merging the tip tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > WARNING: modpost: EXPORT symbol "asm_load_gs_index" [vmlinux] version generation failed, symbol will not be versioned. > Is "asm_load_gs_index" prototyped in <asm/asm-prototypes.h>? > > Introduced by commit > > ae53fa187030 ("x86/gsseg: Move load_gs_index() to its own new header file") Yeah - the new header moved the asm_load_gs_index() prototype out of the list of includes in <asm/asm-prototypes.h> - needs to be added explicitly. Patch below should solve this. Thanks, Ingo ===========> From: Ingo Molnar <mingo@kernel.org> Date: Fri, 13 Jan 2023 13:43:20 +0100 Subject: [PATCH] x86/gsseg: Add the new <asm/gsseg.h> header to <asm/asm-prototypes.h> Module build needs to be able to pick up the C prototype: WARNING: modpost: EXPORT symbol "asm_load_gs_index" [vmlinux] version generation failed, symbol will not be versioned. Is "asm_load_gs_index" prototyped in <asm/asm-prototypes.h>? Fixes: ae53fa187030 ("x86/gsseg: Move load_gs_index() to its own new header file") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: linux-kernel@vger.kernel.org --- arch/x86/include/asm/asm-prototypes.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/x86/include/asm/asm-prototypes.h b/arch/x86/include/asm/asm-prototypes.h index 8f80de627c60..b1a98fa38828 100644 --- a/arch/x86/include/asm/asm-prototypes.h +++ b/arch/x86/include/asm/asm-prototypes.h @@ -12,6 +12,7 @@ #include <asm/special_insns.h> #include <asm/preempt.h> #include <asm/asm.h> +#include <asm/gsseg.h> #ifndef CONFIG_X86_CMPXCHG64 extern void cmpxchg8b_emu(void);