Export math_state_restore symbol, so it can be used for hypervisors. They are commonly loaded as modules. Signed-off-by: Glauber de Oliveira Costa <[email protected]> Signed-off-by: Steven Rostedt <[email protected]> --- arch/x86_64/kernel/traps.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86_64/kernel/traps.c b/arch/x86_64/kernel/traps.c index 0388842..aacbe12 100644 --- a/arch/x86_64/kernel/traps.c +++ b/arch/x86_64/kernel/traps.c @@ -1081,6 +1081,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 11/25 -v2] native versions for set pagetables
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 11/25 -v2] native versions for set pagetables
- References:
- [PATCH 0/25 -v2] paravirt_ops for x86_64, second round
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 1/25 -v2] header file move
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 2/25 -v2] tlb flushing routines
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 3/25 -v2] irq_flags / halt routines
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 4/25 -v2] Add debugreg/load_rsp native hooks
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 5/25 -v2] native versions for system.h functions
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 6/25 -v2] add native_apic read and write functions, as well as boot clocks ones
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 7/25 -v2] interrupt related native paravirt functions.
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 8/25 -v2] use macro for sti/cli in spinlock definitions
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 9/25 -v2] report ring kernel is running without paravirt
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 0/25 -v2] paravirt_ops for x86_64, second round
- Prev by Date: [PATCH 11/25 -v2] native versions for set pagetables
- Next by Date: [PATCH 12/25 -v2] turn msr.h functions into native versions
- Previous by thread: [PATCH 9/25 -v2] report ring kernel is running without paravirt
- Next by thread: [PATCH 11/25 -v2] native versions for set pagetables
- Index(es):