]> xenbits.xensource.com Git - xen.git/commit
x86/traps: do not inline do_trap() into 10 different handlers
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 12 May 2014 15:08:25 +0000 (17:08 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 May 2014 15:08:25 +0000 (17:08 +0200)
commit11dba84796d852123da9d47f63b06aedaf9eeb01
treeb39948bc8d63150604f8e9fdf031b919098f7e78
parent953282a09985592177c418d40060d0f90dba526d
x86/traps: do not inline do_trap() into 10 different handlers

Furthermore, trapnr can be pulled from regs->entry_vector to avoid a risk of
mismatching the trap number with the underlying exception state.

This nets 2K of code reduction.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/traps.c