1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 3 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. 4 */ 5 6 #include <linux/reboot.h> 7 #include <linux/smp.h> 8 #include <asm/hexagon_vm.h> 9 machine_power_off(void)10void machine_power_off(void) 11 { 12 smp_send_stop(); 13 __vmstop(); 14 } 15 machine_halt(void)16void machine_halt(void) 17 { 18 } 19 machine_restart(char * cmd)20void machine_restart(char *cmd) 21 { 22 } 23 24 void (*pm_power_off)(void) = NULL; 25 EXPORT_SYMBOL(pm_power_off); 26