projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2355188
)
x86: export math_state_restore
author
Glauber de Oliveira Costa
<
[email protected]
>
Wed, 30 Jan 2008 12:31:10 +0000
(13:31 +0100)
committer
Ingo Molnar
<
[email protected]
>
Wed, 30 Jan 2008 12:31:10 +0000
(13:31 +0100)
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 <
[email protected]
>
Signed-off-by: Steven Rostedt <
[email protected]
>
Acked-by: Jeremy Fitzhardinge <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
Signed-off-by: Glauber de Oliveira Costa <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
arch/x86/kernel/traps_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/traps_64.c
b/arch/x86/kernel/traps_64.c
index 965f2cc3a013eaeca598e8a3fe1fb0482fbeb18a..1a12a81fdb1bafcce090287d9ad1de272b1f1944 100644
(file)
--- 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)
{