summaryrefslogtreecommitdiffstats
path: root/arch/x86/entry/thunk_64.S
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-11 11:04:34 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-08-07 23:47:15 -0400
commit784d5699eddc55878627da20d3fe0c8542e2f1a2 (patch)
treec7fac7583c9730fb0c0e73ea905a97a487ec34bf /arch/x86/entry/thunk_64.S
parent22823ab419d8ed884195cfa75483fd3a99bb1462 (diff)
downloadlinux-784d5699eddc55878627da20d3fe0c8542e2f1a2.tar.gz
linux-784d5699eddc55878627da20d3fe0c8542e2f1a2.tar.bz2
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) \