diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 04:44:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 13:51:23 -0500 |
commit | 9eae9b132cd2cebf98cc45550049d421302b9aba (patch) | |
tree | dffc7dc9f296728caa141c290099fc44dc28139c /arch/um | |
parent | 7242a4005d1c496bc1140d56a0d898cde1b3e3f6 (diff) |
[PATCH] uml: style fixes in startup code
Some style fixes in startup.c.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/os-Linux/start_up.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/um/os-Linux/start_up.c b/arch/um/os-Linux/start_up.c index 5d3bff430d96..537084fd834f 100644 --- a/arch/um/os-Linux/start_up.c +++ b/arch/um/os-Linux/start_up.c | |||
@@ -95,7 +95,7 @@ static int start_ptraced_child(void **stack_out) | |||
95 | status); | 95 | status); |
96 | 96 | ||
97 | *stack_out = stack; | 97 | *stack_out = stack; |
98 | return(pid); | 98 | return pid; |
99 | } | 99 | } |
100 | 100 | ||
101 | /* When testing for SYSEMU support, if it is one of the broken versions, we | 101 | /* When testing for SYSEMU support, if it is one of the broken versions, we |
@@ -182,7 +182,7 @@ __uml_setup("nosysemu", nosysemu_cmd_param, | |||
182 | static void __init check_sysemu(void) | 182 | static void __init check_sysemu(void) |
183 | { | 183 | { |
184 | void *stack; | 184 | void *stack; |
185 | int pid, n, status, count=0; | 185 | int pid, n, status, count=0; |
186 | 186 | ||
187 | printf("Checking syscall emulation patch for ptrace..."); | 187 | printf("Checking syscall emulation patch for ptrace..."); |
188 | sysemu_supported = 0; | 188 | sysemu_supported = 0; |
@@ -418,7 +418,7 @@ static inline void check_skas3_proc_mm(void) | |||
418 | { | 418 | { |
419 | printf(" - /proc/mm..."); | 419 | printf(" - /proc/mm..."); |
420 | if (os_access("/proc/mm", OS_ACC_W_OK) < 0) { | 420 | if (os_access("/proc/mm", OS_ACC_W_OK) < 0) { |
421 | proc_mm = 0; | 421 | proc_mm = 0; |
422 | printf("not found\n"); | 422 | printf("not found\n"); |
423 | } | 423 | } |
424 | else { | 424 | else { |
@@ -445,7 +445,7 @@ int can_do_skas(void) | |||
445 | #else | 445 | #else |
446 | int can_do_skas(void) | 446 | int can_do_skas(void) |
447 | { | 447 | { |
448 | return(0); | 448 | return 0; |
449 | } | 449 | } |
450 | #endif | 450 | #endif |
451 | 451 | ||
@@ -493,11 +493,11 @@ int __init parse_iomem(char *str, int *add) | |||
493 | iomem_regions = new; | 493 | iomem_regions = new; |
494 | iomem_size += new->size + UM_KERN_PAGE_SIZE; | 494 | iomem_size += new->size + UM_KERN_PAGE_SIZE; |
495 | 495 | ||
496 | return(0); | 496 | return 0; |
497 | out_close: | 497 | out_close: |
498 | os_close_file(fd); | 498 | os_close_file(fd); |
499 | out: | 499 | out: |
500 | return(1); | 500 | return 1; |
501 | } | 501 | } |
502 | 502 | ||
503 | 503 | ||