We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 736e80a commit c1804a2Copy full SHA for c1804a2
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
26
* the simple and nasty way...
27
*/
28
-#define EXPORT_THUNK(reg) EXPORT_SYMBOL(__x86_indirect_thunk_ ## reg)
+#define __EXPORT_THUNK(sym) _ASM_NOKPROBE(sym); EXPORT_SYMBOL(sym)
29
+#define EXPORT_THUNK(reg) __EXPORT_THUNK(__x86_indirect_thunk_ ## reg)
30
#define GENERATE_THUNK(reg) THUNK reg ; EXPORT_THUNK(reg)
31
32
GENERATE_THUNK(_ASM_AX)
0 commit comments