x86/traps: move set_guest_{machine,nmi}_trapbounce
authorWei Liu <wei.liu2@citrix.com>
Mon, 5 Jun 2017 14:58:25 +0000 (15:58 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 23 Jun 2017 15:06:19 +0000 (16:06 +0100)
commit0142064421f3734ab05400307d138025a61ed660
tree95b84fd800aba66db09334478c7ae0bd01bc70e2
parent970c4a2a19e262afe72e9ae8200db1d9701b87ef
x86/traps: move set_guest_{machine,nmi}_trapbounce

Take the opportunity to change their return type to bool. And rename
"v" to "curr".

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