blob: 79bf79a55600cc33515891835a60d7eb34d277f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include <common.h>
#include <init.h>
#include <restart.h>
#include <mach/linux.h>
static void sandbox_restart_cpu(struct restart_handler *restart)
{
linux_exit();
}
static int restart_register_feature(void)
{
restart_handler_register_fn(sandbox_restart_cpu);
return 0;
}
coredevice_initcall(restart_register_feature);
|