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/smp.h> 7 #include <asm/hexagon_vm.h> 8 machine_power_off(void)9void machine_power_off(void) 10 { 11 smp_send_stop(); 12 __vmstop(); 13 } 14 machine_halt(void)15void machine_halt(void) 16 { 17 } 18 machine_restart(char * cmd)19void machine_restart(char *cmd) 20 { 21 } 22 23 void (*pm_power_off)(void) = NULL; 24 EXPORT_SYMBOL(pm_power_off); 25