From: Ingo Molnar Date: Fri, 13 Jan 2023 12:43:20 +0000 (+0100) Subject: x86/gsseg: Add the new header to X-Git-Tag: v6.6.17~5519^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e12ad468c22065a2826b2fc4c11d2113a7975301;p=platform%2Fkernel%2Flinux-rpi.git x86/gsseg: Add the new header to 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 ? Fixes: ae53fa187030 ("x86/gsseg: Move load_gs_index() to its own new header file") Reported-by: Stephen Rothwell Signed-off-by: Ingo Molnar Cc: linux-kernel@vger.kernel.org --- 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 #include #include +#include #ifndef CONFIG_X86_CMPXCHG64 extern void cmpxchg8b_emu(void);