summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 13:31:10 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:31:10 +0100
commit21db5584f955652a6e34afa7d3dbd72dd6c82a89 (patch)
treed3138815af262bd3e4c61256142a04705d460a93 /arch
parent2355188570790930718fb72444cddc2959039d9d (diff)
downloadkernel-crypto-21db5584f955652a6e34afa7d3dbd72dd6c82a89.tar.gz
kernel-crypto-21db5584f955652a6e34afa7d3dbd72dd6c82a89.tar.xz
kernel-crypto-21db5584f955652a6e34afa7d3dbd72dd6c82a89.zip
x86: export math_state_restore
Export math_state_restore symbol, so it can be used for hypervisors. They are commonly loaded as modules (lguest being an example). Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Jeremy Fitzhardinge <jeremy@xensource.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/traps_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c
index 965f2cc3a01..1a12a81fdb1 100644
--- a/arch/x86/kernel/traps_64.c
+++ b/arch/x86/kernel/traps_64.c
@@ -1074,6 +1074,7 @@ asmlinkage void math_state_restore(void)
task_thread_info(me)->status |= TS_USEDFPU;
me->fpu_counter++;
}
+EXPORT_SYMBOL_GPL(math_state_restore);
void __init trap_init(void)
{