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 <gcosta@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> --- 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 majordomo@vger.kernel.org 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] [PATCH] introduce paravirt_release_pgd()
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- [PATCH 11/25] [PATCH] introduce paravirt_release_pgd()
- References:
- Introducing paravirt_ops for x86_64
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- [PATCH 1/25] [PATCH] header file move
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- [PATCH 2/25] [PATCH] tlb flushing routines
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- [PATCH 3/25] [PATCH] irq_flags / halt routines
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- [PATCH 4/25] [PATCH] Add debugreg/load_rsp native hooks
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- [PATCH 5/25] [PATCH] native versions for system.h functions
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- [PATCH 6/25] [PATCH] add native_apic read and write functions, as well as boot clocks ones
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- [PATCH 7/25] [PATCH] interrupt related native paravirt functions.
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- [PATCH 8/25] [PATCH] use macro for sti/cli in spinlock definitions
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- [PATCH 9/25] [PATCH] report ring kernel is running without paravirt
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- Introducing paravirt_ops for x86_64
- Prev by Date: [PATCH 16/25] [PATCH] introducing paravirt_activate_mm
- Next by Date: [PATCH 19/25] [PATCH] time-related functions paravirt provisions
- Previous by thread: [PATCH 9/25] [PATCH] report ring kernel is running without paravirt
- Next by thread: [PATCH 11/25] [PATCH] introduce paravirt_release_pgd()
- Index(es):
![]() |