diff options
Diffstat (limited to 'arch/um/kernel/reboot.c')
-rw-r--r-- | arch/um/kernel/reboot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/kernel/reboot.c b/arch/um/kernel/reboot.c index 1ce49cd8aca3..00197d3d21ec 100644 --- a/arch/um/kernel/reboot.c +++ b/arch/um/kernel/reboot.c | |||
@@ -12,7 +12,7 @@ void (*pm_power_off)(void); | |||
12 | 12 | ||
13 | static void kill_off_processes(void) | 13 | static void kill_off_processes(void) |
14 | { | 14 | { |
15 | if(proc_mm) | 15 | if (proc_mm) |
16 | /* | 16 | /* |
17 | * FIXME: need to loop over userspace_pids | 17 | * FIXME: need to loop over userspace_pids |
18 | */ | 18 | */ |
@@ -22,8 +22,8 @@ static void kill_off_processes(void) | |||
22 | int pid, me; | 22 | int pid, me; |
23 | 23 | ||
24 | me = os_getpid(); | 24 | me = os_getpid(); |
25 | for_each_process(p){ | 25 | for_each_process(p) { |
26 | if(p->mm == NULL) | 26 | if (p->mm == NULL) |
27 | continue; | 27 | continue; |
28 | 28 | ||
29 | pid = p->mm->context.id.u.pid; | 29 | pid = p->mm->context.id.u.pid; |