2 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3 * Licensed under the GPL
6 #include "linux/sched.h"
7 #include "linux/slab.h"
12 void (*pm_power_off
)(void);
14 static void kill_off_processes(void)
18 * FIXME: need to loop over userspace_pids
20 os_kill_ptraced_process(userspace_pid
[0], 1);
22 struct task_struct
*p
;
30 pid
= p
->mm
->context
.id
.u
.pid
;
31 os_kill_ptraced_process(pid
, 1);
36 void uml_cleanup(void)
43 void machine_restart(char * __unused
)
49 void machine_power_off(void)
55 void machine_halt(void)