* [tip: x86/cpu] x86/gsseg: Add the new <asm/gsseg.h> header to <asm/asm-prototypes.h>
@ 2023-01-13 12:53 tip-bot2 for Ingo Molnar
0 siblings, 0 replies; only message in thread
From: tip-bot2 for Ingo Molnar @ 2023-01-13 12:53 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Stephen Rothwell, Ingo Molnar, linux-kernel, x86
The following commit has been merged into the x86/cpu branch of tip:
Commit-ID: e12ad468c22065a2826b2fc4c11d2113a7975301
Gitweb: https://git.kernel.org/tip/e12ad468c22065a2826b2fc4c11d2113a7975301
Author: Ingo Molnar <mingo@kernel.org>
AuthorDate: Fri, 13 Jan 2023 13:43:20 +01:00
Committer: Ingo Molnar <mingo@kernel.org>
CommitterDate: Fri, 13 Jan 2023 13:43:20 +01:00
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 8f80de6..b1a98fa 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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-13 13:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-13 12:53 [tip: x86/cpu] x86/gsseg: Add the new <asm/gsseg.h> header to <asm/asm-prototypes.h> tip-bot2 for Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®