Merge tag 'kthread-cleanups-for-v5.19' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / arch / ia64 / kernel / process.c
index 167b176..416305e 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/module.h>
 #include <linux/notifier.h>
 #include <linux/personality.h>
+#include <linux/reboot.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
 #include <linux/sched/hotplug.h>
@@ -602,8 +603,7 @@ machine_halt (void)
 void
 machine_power_off (void)
 {
-       if (pm_power_off)
-               pm_power_off();
+       do_kernel_power_off();
        machine_halt();
 }