diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-30 07:31:10 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:10 -0500 |
commit | 21db5584f955652a6e34afa7d3dbd72dd6c82a89 (patch) | |
tree | d3138815af262bd3e4c61256142a04705d460a93 /arch/x86/kernel/traps_64.c | |
parent | 2355188570790930718fb72444cddc2959039d9d (diff) |
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/x86/kernel/traps_64.c')
-rw-r--r-- | arch/x86/kernel/traps_64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index 965f2cc3a013..1a12a81fdb1b 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) | |||
1074 | task_thread_info(me)->status |= TS_USEDFPU; | 1074 | task_thread_info(me)->status |= TS_USEDFPU; |
1075 | me->fpu_counter++; | 1075 | me->fpu_counter++; |
1076 | } | 1076 | } |
1077 | EXPORT_SYMBOL_GPL(math_state_restore); | ||
1077 | 1078 | ||
1078 | void __init trap_init(void) | 1079 | void __init trap_init(void) |
1079 | { | 1080 | { |