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