[PATCH 6/16] export math_state_restore
- From: Glauber de Oliveira Costa <gcosta@xxxxxxxxxx>
- Date: Wed, 31 Oct 2007 16:14:51 -0300
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@xxxxxxxxxx>
Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
Acked-by: Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>
---
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 d0c2bc7..a533ecd 100644
--- a/arch/x86/kernel/traps_64.c
+++ b/arch/x86/kernel/traps_64.c
@@ -1077,6 +1077,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)
{
--
1.4.4.2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 0/7] (Re-)introducing pvops for x86_64 - Real pvops work part
- From: Glauber de Oliveira Costa
- [PATCH 1/16] Wipe out traditional opt from x86_64 Makefile
- From: Glauber de Oliveira Costa
- [PATCH 2/16] paravirt hooks at entry functions.
- From: Glauber de Oliveira Costa
- [PATCH 3/16] read/write_crX, clts and wbinvd for 64-bit paravirt
- From: Glauber de Oliveira Costa
- [PATCH 5/16] report ring kernel is running without paravirt
- From: Glauber de Oliveira Costa
- [PATCH 0/7] (Re-)introducing pvops for x86_64 - Real pvops work part
- Prev by Date: [PATCH 0/7] (Re-)introducing pvops for x86_64 - Real pvops work part
- Next by Date: [PATCH 3/16] read/write_crX, clts and wbinvd for 64-bit paravirt
- Previous by thread: [PATCH 5/16] report ring kernel is running without paravirt
- Next by thread: [PATCH 9/16] This patch add provisions for time related functions so they
- Index(es):
Relevant Pages
|
|