diff options
author | Andi Kleen <ak@linux.intel.com> | 2013-08-06 00:02:39 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-08-06 23:18:30 +0200 |
commit | 35ea7903b8a97162e38da9da3b560df74713321d (patch) | |
tree | ecf6c69d177e9ec3b457a9a2c7db327ffeb2940c /arch/x86/kernel/process_32.c | |
parent | x86, asmlinkage: Make _*_start_kernel visible (diff) | |
download | linux-35ea7903b8a97162e38da9da3b560df74713321d.tar.xz linux-35ea7903b8a97162e38da9da3b560df74713321d.zip |
x86, asmlinkage: Make 32bit/64bit __switch_to visible
This function is called from inline assembler, so has to be visible.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1375740170-7446-6-git-send-email-andi@firstfloor.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/process_32.c')
-rw-r--r-- | arch/x86/kernel/process_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c index f8adefca71dc..884f98f69354 100644 --- a/arch/x86/kernel/process_32.c +++ b/arch/x86/kernel/process_32.c @@ -247,7 +247,7 @@ EXPORT_SYMBOL_GPL(start_thread); * the task-switch, and shows up in ret_from_fork in entry.S, * for example. */ -__notrace_funcgraph struct task_struct * +__visible __notrace_funcgraph struct task_struct * __switch_to(struct task_struct *prev_p, struct task_struct *next_p) { struct thread_struct *prev = &prev_p->thread, |