ia64/xen-unstable

changeset 16031:307a8688a9e3

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@xensource.com>
author Keir Fraser <keir@xensource.com>
date Mon Oct 01 15:38:58 2007 +0100 (2007-10-01)
parents 22273a5336e5
children 9a39dac6660a
files xen/arch/x86/traps.c xen/arch/x86/x86_32/entry.S xen/arch/x86/x86_64/entry.S
line diff
     1.1 --- a/xen/arch/x86/traps.c	Mon Oct 01 15:28:18 2007 +0100
     1.2 +++ b/xen/arch/x86/traps.c	Mon Oct 01 15:38:58 2007 +0100
     1.3 @@ -2009,7 +2009,7 @@ void unset_nmi_callback(void)
     1.4      nmi_callback = dummy_nmi_callback;
     1.5  }
     1.6  
     1.7 -asmlinkage int math_state_restore(struct cpu_user_regs *regs)
     1.8 +asmlinkage int do_device_not_available(struct cpu_user_regs *regs)
     1.9  {
    1.10      BUG_ON(!guest_mode(regs));
    1.11  
     2.1 --- a/xen/arch/x86/x86_32/entry.S	Mon Oct 01 15:28:18 2007 +0100
     2.2 +++ b/xen/arch/x86/x86_32/entry.S	Mon Oct 01 15:38:58 2007 +0100
     2.3 @@ -623,7 +623,7 @@ ENTRY(exception_table)
     2.4          .long do_overflow
     2.5          .long do_bounds
     2.6          .long do_invalid_op
     2.7 -        .long math_state_restore
     2.8 +        .long do_device_not_available
     2.9          .long 0 # double fault
    2.10          .long do_coprocessor_segment_overrun
    2.11          .long do_invalid_TSS
     3.1 --- a/xen/arch/x86/x86_64/entry.S	Mon Oct 01 15:28:18 2007 +0100
     3.2 +++ b/xen/arch/x86/x86_64/entry.S	Mon Oct 01 15:38:58 2007 +0100
     3.3 @@ -559,7 +559,7 @@ ENTRY(exception_table)
     3.4          .quad do_overflow
     3.5          .quad do_bounds
     3.6          .quad do_invalid_op
     3.7 -        .quad math_state_restore
     3.8 +        .quad do_device_not_available
     3.9          .quad 0 # double_fault
    3.10          .quad do_coprocessor_segment_overrun
    3.11          .quad do_invalid_TSS