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]> --- 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 4d752a8..0876692 100644 --- a/arch/x86/kernel/traps_64.c +++ b/arch/x86/kernel/traps_64.c @@ -1069,6 +1069,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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH 15/24] native versions for set pagetables
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 15/24] native versions for set pagetables
- References:
- [PATCH 0/24] paravirt_ops for unified x86 - that's me again!
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 1/24] mm/sparse-vmemmap.c: make sure init_mm is included
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 2/24] irqflags consolidation
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 3/24] consolidate spinlock.h
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 4/24] tlb functions consolidation
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 5/24] smp x86 consolidation
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 6/24] Add debugreg/load_rsp native hooks
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 7/24] consolidate msr.h
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 8/24] consolidate system.h
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 9/24] Wipe out traditional opt from x86_64 Makefile
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 10/24] paravirt hooks at entry functions.
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 11/24] read/write_crX, clts and wbinvd for 64-bit paravirt
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 12/24] provide native irq initialization function
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 13/24] report ring kernel is running without paravirt
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 0/24] paravirt_ops for unified x86 - that's me again!
- Prev by Date: [PATCH 11/24] read/write_crX, clts and wbinvd for 64-bit paravirt
- Next by Date: [PATCH 3/24] consolidate spinlock.h
- Previous by thread: [PATCH 13/24] report ring kernel is running without paravirt
- Next by thread: [PATCH 15/24] native versions for set pagetables
- Index(es):