diff options
-rw-r--r-- | arch/x86/lib/retpoline.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/lib/retpoline.S b/arch/x86/lib/retpoline.S index d3415dc30f82..dfb2ba91b670 100644 --- a/arch/x86/lib/retpoline.S +++ b/arch/x86/lib/retpoline.S | |||
@@ -25,7 +25,8 @@ ENDPROC(__x86_indirect_thunk_\reg) | |||
25 | * than one per register with the correct names. So we do it | 25 | * than one per register with the correct names. So we do it |
26 | * the simple and nasty way... | 26 | * the simple and nasty way... |
27 | */ | 27 | */ |
28 | #define EXPORT_THUNK(reg) EXPORT_SYMBOL(__x86_indirect_thunk_ ## reg) | 28 | #define __EXPORT_THUNK(sym) _ASM_NOKPROBE(sym); EXPORT_SYMBOL(sym) |
29 | #define EXPORT_THUNK(reg) __EXPORT_THUNK(__x86_indirect_thunk_ ## reg) | ||
29 | #define GENERATE_THUNK(reg) THUNK reg ; EXPORT_THUNK(reg) | 30 | #define GENERATE_THUNK(reg) THUNK reg ; EXPORT_THUNK(reg) |
30 | 31 | ||
31 | GENERATE_THUNK(_ASM_AX) | 32 | GENERATE_THUNK(_ASM_AX) |