2 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3 * Licensed under the GPL
6 #include "linux/sched.h"
11 void (*pm_power_off
)(void);
13 static void kill_off_processes(void)
17 * FIXME: need to loop over userspace_pids
19 os_kill_ptraced_process(userspace_pid
[0], 1);
21 struct task_struct
*p
;
29 pid
= p
->mm
->context
.id
.u
.pid
;
30 os_kill_ptraced_process(pid
, 1);
35 void uml_cleanup(void)
42 void machine_restart(char * __unused
)
48 void machine_power_off(void)
54 void machine_halt(void)
This page took 0.031356 seconds and 5 git commands to generate.