summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/switch_to.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2013-08-05 15:02:39 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2013-08-06 14:18:30 -0700
commit35ea7903b8a97162e38da9da3b560df74713321d (patch)
treeecf6c69d177e9ec3b457a9a2c7db327ffeb2940c /arch/x86/include/asm/switch_to.h
parenta1ed4ddfb780910c1bb1e9df9cfc87454b607489 (diff)
downloadop-kernel-dev-35ea7903b8a97162e38da9da3b560df74713321d.zip
op-kernel-dev-35ea7903b8a97162e38da9da3b560df74713321d.tar.gz
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/include/asm/switch_to.h')
-rw-r--r--arch/x86/include/asm/switch_to.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/switch_to.h b/arch/x86/include/asm/switch_to.h
index 4ec45b3..d7f3b3b 100644
--- a/arch/x86/include/asm/switch_to.h
+++ b/arch/x86/include/asm/switch_to.h
@@ -2,8 +2,8 @@
#define _ASM_X86_SWITCH_TO_H
struct task_struct; /* one of the stranger aspects of C forward declarations */
-struct task_struct *__switch_to(struct task_struct *prev,
- struct task_struct *next);
+__visible struct task_struct *__switch_to(struct task_struct *prev,
+ struct task_struct *next);
struct tss_struct;
void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p,
struct tss_struct *tss);
OpenPOWER on IntegriCloud