summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/reset.c
blob: 143449aac64ecac4701be7b776cbdcc7252fb1af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 *  linux/arch/mips/sni/process.c
 *
 *  Reset the machine.
 */
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/reboot.h>
#include <asm/reboot.h>

/*
 * Urgs ...  Too many MIPS machines to handle this in a generic way.
 * So handle all using function pointers to machine specific
 * functions.
 */

void machine_restart(char *command)
{
	_machine_restart(command);
}

void machine_halt(void)
{
	_machine_halt();
}

void machine_power_off(void)
{
	_machine_power_off();
}