summaryrefslogtreecommitdiffstats
path: root/arch/x86/entry/thunk_64.S
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-11 17:04:34 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2016-08-08 05:47:15 +0200
commit784d5699eddc55878627da20d3fe0c8542e2f1a2 (patch)
treec7fac7583c9730fb0c0e73ea905a97a487ec34bf /arch/x86/entry/thunk_64.S
parentEXPORT_SYMBOL() for asm (diff)
downloadlinux-784d5699eddc55878627da20d3fe0c8542e2f1a2.tar.xz
linux-784d5699eddc55878627da20d3fe0c8542e2f1a2.zip
x86: move exports to actual definitions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/entry/thunk_64.S')
-rw-r--r--arch/x86/entry/thunk_64.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/entry/thunk_64.S b/arch/x86/entry/thunk_64.S
index 627ecbcb2e62..be36bf4e0957 100644
--- a/arch/x86/entry/thunk_64.S
+++ b/arch/x86/entry/thunk_64.S
@@ -8,6 +8,7 @@
#include <linux/linkage.h>
#include "calling.h"
#include <asm/asm.h>
+#include <asm/export.h>
/* rdi: arg1 ... normal C conventions. rax is saved/restored. */
.macro THUNK name, func, put_ret_addr_in_rdi=0
@@ -49,6 +50,8 @@
#ifdef CONFIG_PREEMPT
THUNK ___preempt_schedule, preempt_schedule
THUNK ___preempt_schedule_notrace, preempt_schedule_notrace
+ EXPORT_SYMBOL(___preempt_schedule)
+ EXPORT_SYMBOL(___preempt_schedule_notrace)
#endif
#if defined(CONFIG_TRACE_IRQFLAGS) \