xref: /openbmc/linux/arch/hexagon/kernel/reset.c (revision 08dbd0f8)
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)9 void machine_power_off(void)
10 {
11 	smp_send_stop();
12 	__vmstop();
13 }
14 
machine_halt(void)15 void machine_halt(void)
16 {
17 }
18 
machine_restart(char * cmd)19 void machine_restart(char *cmd)
20 {
21 }
22 
23 void (*pm_power_off)(void) = NULL;
24 EXPORT_SYMBOL(pm_power_off);
25