2019-05-29 22:12:41 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2011-11-01 07:42:28 +08:00
|
|
|
/*
|
2012-09-20 05:22:02 +08:00
|
|
|
* Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
|
2011-11-01 07:42:28 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/smp.h>
|
|
|
|
#include <asm/hexagon_vm.h>
|
|
|
|
|
|
|
|
void machine_power_off(void)
|
|
|
|
{
|
|
|
|
smp_send_stop();
|
|
|
|
__vmstop();
|
|
|
|
}
|
|
|
|
|
|
|
|
void machine_halt(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void machine_restart(char *cmd)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2013-11-29 12:01:37 +08:00
|
|
|
void (*pm_power_off)(void) = NULL;
|
|
|
|
EXPORT_SYMBOL(pm_power_off);
|