xen/x86: Use do_kernel_power_off()
authorDmitry Osipenko <digetx@gmail.com>
Sun, 30 Jan 2022 23:37:07 +0000 (02:37 +0300)
committerHector Martin <marcan@marcan.st>
Tue, 8 Feb 2022 05:49:05 +0000 (14:49 +0900)
commit4cf9b382c13433980a753127a622e3604a0cd3fa
tree758752cfba3816b11fdb6aaa65f2934184d6c410
parent91f7a7f7dfda081b9ae61463b53b044b74a2e3c8
xen/x86: Use do_kernel_power_off()

Kernel now supports chained power-off handlers. Use do_kernel_power_off()
that invokes chained power-off handlers. It also invokes legacy
pm_power_off() for now, which will be removed once all drivers will
be converted to the new power-off API.

Acked-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
arch/x86/xen/enlighten_pv.c