]> xenbits.xensource.com Git - xen.git/commit
x86/traps: export the exception_table[] function pointer table to C
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 18 Feb 2015 15:51:31 +0000 (16:51 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 18 Feb 2015 15:51:31 +0000 (16:51 +0100)
commit5b2d4e87af8966fd00cbb10f9890993f4800d4af
tree1c1d3060c08c1542d0b0b88f27182eda9ec761fd
parente71c4e54d996d7ab70e778917cc1fff67a9f4dc0
x86/traps: export the exception_table[] function pointer table to C

and use it in preference to the direct call to do_nmi() in vmx.c

The value 'TRAP_last_reserved' was only used where 'TRAP_nr' would be more
appropriate, so is replaced.

No functional change

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
master commit: d3eb16b8a7c06f0d2a2110948a8477a62b541bbf
master date: 2015-02-11 17:16:18 +0100
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/x86_64/entry.S
xen/include/asm-x86/processor.h