x86/gsseg: Add the new <asm/gsseg.h> header to <asm/asm-prototypes.h>
authorIngo Molnar <mingo@kernel.org>
Fri, 13 Jan 2023 12:43:20 +0000 (13:43 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 13 Jan 2023 12:43:20 +0000 (13:43 +0100)
commite12ad468c22065a2826b2fc4c11d2113a7975301
treecd9b78aa5b73ae72c3b4676059ce5f67fe6eacf3
parent92cbbadf73f45c5d8bb26ed8668ff59671ff21e6
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