From: Glauber de Oliveira Costa Date: Wed, 30 Jan 2008 12:31:10 +0000 (+0100) Subject: x86: export math_state_restore X-Git-Tag: v2.6.25-rc1~1143^2~617 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21db5584f955652a6e34afa7d3dbd72dd6c82a89;p=linux-2.6 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 Signed-off-by: Steven Rostedt Acked-by: Jeremy Fitzhardinge Signed-off-by: Thomas Gleixner Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index 965f2cc3a0..1a12a81fdb 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) {