x86/traps: move some PV specific functions to pv/traps.c
authorWei Liu <wei.liu2@citrix.com>
Mon, 26 Jun 2017 15:46:50 +0000 (16:46 +0100)
committerWei Liu <wei.liu2@citrix.com>
Wed, 28 Jun 2017 10:56:53 +0000 (11:56 +0100)
commitd59d24c90bed139b25279977d5b90dc3984144cc
treeebfaa167d20dee72b398d521281aab49c02c4eaf
parent093973bd772ea33f7d34b3861732cd2060a1b75c
x86/traps: move some PV specific functions to pv/traps.c

Those functions must be moved at the same time. Also move softirq_trap
because it is only used there.

Fix some coding style issues while moving code.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/pv/traps.c
xen/arch/x86/traps.c
xen/include/asm-x86/traps.h