diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-05-06 17:51:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:13:03 -0400 |
commit | ef0470c053274c343b2be8737e0146d65e17f9be (patch) | |
tree | 68809a8af1da35e3bb3530a667eea080e086fae0 /arch/um/os-Linux/skas/process.c | |
parent | 3d564047a5f45cb628ec72514f68076e532988f3 (diff) |
uml: tidy libc code
This patch lays some groundwork for the next one, which converts calls to
os_{read,write}_file into {read,write}, by doing some tidying in the affected
areas.
do_not_aio gets restructured to make the final result a bit cleaner.
There are also whitespace and other formatting fixes, fixes in error messages,
and a typo fix.
Signed-off-by: Jeff Dike <jdike@linux.intel.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/os-Linux/skas/process.c')
-rw-r--r-- | arch/um/os-Linux/skas/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/os-Linux/skas/process.c b/arch/um/os-Linux/skas/process.c index 41bf8d1e14e0..47852698d5e1 100644 --- a/arch/um/os-Linux/skas/process.c +++ b/arch/um/os-Linux/skas/process.c | |||
@@ -409,7 +409,7 @@ int copy_context_skas0(unsigned long new_stack, int pid) | |||
409 | 409 | ||
410 | /* | 410 | /* |
411 | * This is used only, if stub pages are needed, while proc_mm is | 411 | * This is used only, if stub pages are needed, while proc_mm is |
412 | * availabl. Opening /proc/mm creates a new mm_context, which lacks | 412 | * available. Opening /proc/mm creates a new mm_context, which lacks |
413 | * the stub-pages. Thus, we map them using /proc/mm-fd | 413 | * the stub-pages. Thus, we map them using /proc/mm-fd |
414 | */ | 414 | */ |
415 | void map_stub_pages(int fd, unsigned long code, | 415 | void map_stub_pages(int fd, unsigned long code, |