Skip to content

Commit e12ad46

Browse files
author
Ingo Molnar
committed
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: ae53fa1 ("x86/gsseg: Move load_gs_index() to its own new header file") Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: [email protected]
1 parent 92cbbad commit e12ad46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/include/asm/asm-prototypes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <asm/special_insns.h>
1313
#include <asm/preempt.h>
1414
#include <asm/asm.h>
15+
#include <asm/gsseg.h>
1516

1617
#ifndef CONFIG_X86_CMPXCHG64
1718
extern void cmpxchg8b_emu(void);

0 commit comments

Comments
 (0)