[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: Rename math_state_restore() to more logical



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1191249538 -3600
# Node ID 307a8688a9e3173bf0fc47db4edc5253dedb1cdb
# Parent  22273a5336e50ca38198f4d2ab6b20b27a856221
x86: Rename math_state_restore() to more logical
do_device_not_available(), following naming convection for all other C
exception handlers.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/traps.c        |    2 +-
 xen/arch/x86/x86_32/entry.S |    2 +-
 xen/arch/x86/x86_64/entry.S |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff -r 22273a5336e5 -r 307a8688a9e3 xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c      Mon Oct 01 15:28:18 2007 +0100
+++ b/xen/arch/x86/traps.c      Mon Oct 01 15:38:58 2007 +0100
@@ -2009,7 +2009,7 @@ void unset_nmi_callback(void)
     nmi_callback = dummy_nmi_callback;
 }
 
-asmlinkage int math_state_restore(struct cpu_user_regs *regs)
+asmlinkage int do_device_not_available(struct cpu_user_regs *regs)
 {
     BUG_ON(!guest_mode(regs));
 
diff -r 22273a5336e5 -r 307a8688a9e3 xen/arch/x86/x86_32/entry.S
--- a/xen/arch/x86/x86_32/entry.S       Mon Oct 01 15:28:18 2007 +0100
+++ b/xen/arch/x86/x86_32/entry.S       Mon Oct 01 15:38:58 2007 +0100
@@ -623,7 +623,7 @@ ENTRY(exception_table)
         .long do_overflow
         .long do_bounds
         .long do_invalid_op
-        .long math_state_restore
+        .long do_device_not_available
         .long 0 # double fault
         .long do_coprocessor_segment_overrun
         .long do_invalid_TSS
diff -r 22273a5336e5 -r 307a8688a9e3 xen/arch/x86/x86_64/entry.S
--- a/xen/arch/x86/x86_64/entry.S       Mon Oct 01 15:28:18 2007 +0100
+++ b/xen/arch/x86/x86_64/entry.S       Mon Oct 01 15:38:58 2007 +0100
@@ -559,7 +559,7 @@ ENTRY(exception_table)
         .quad do_overflow
         .quad do_bounds
         .quad do_invalid_op
-        .quad math_state_restore
+        .quad do_device_not_available
         .quad 0 # double_fault
         .quad do_coprocessor_segment_overrun
         .quad do_invalid_TSS

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.