x86/pv: Move async_exception_cleanup() into pv/iret.c
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 23 Jul 2019 19:46:35 +0000 (20:46 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 24 Jul 2019 13:40:10 +0000 (14:40 +0100)
commit094796affb7c87f6b2daccdbe192208af715e088
tree19eb332334fdc69baa56dd3f4c3ec887349fc78a
parent4782b7aeeae0ffb42d74e0f7f419ea955f35cab1
x86/pv: Move async_exception_cleanup() into pv/iret.c

All callers are in pv/iret.c.  Move the function and make it static.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/pv/iret.c
xen/arch/x86/traps.c
xen/include/asm-x86/traps.h