diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 04:44:09 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 13:51:22 -0500 |
commit | 94c282d79e17a83ccc876990e05378ed6dfbccae (patch) | |
tree | 0d0364e20d19274d143aece1088e9ba3ce4f0e5c /arch/um/kernel/mem.c | |
parent | c6256c68248cfccbeec07ced442ffe395fa393e8 (diff) |
[PATCH] uml: locking comments in iomem driver
Comment some lack of locking in the iomem driver.
Also, a couple of variables are in the wrong place, so they are moved.
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/kernel/mem.c')
-rw-r--r-- | arch/um/kernel/mem.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/um/kernel/mem.c b/arch/um/kernel/mem.c index c95855ba6ab5..fb11992f0b8a 100644 --- a/arch/um/kernel/mem.c +++ b/arch/um/kernel/mem.c | |||
@@ -367,16 +367,6 @@ struct page *pte_alloc_one(struct mm_struct *mm, unsigned long address) | |||
367 | return pte; | 367 | return pte; |
368 | } | 368 | } |
369 | 369 | ||
370 | struct iomem_region *iomem_regions = NULL; | ||
371 | int iomem_size = 0; | ||
372 | |||
373 | extern int parse_iomem(char *str, int *add) __init; | ||
374 | |||
375 | __uml_setup("iomem=", parse_iomem, | ||
376 | "iomem=<name>,<file>\n" | ||
377 | " Configure <file> as an IO memory region named <name>.\n\n" | ||
378 | ); | ||
379 | |||
380 | /* | 370 | /* |
381 | * Overrides for Emacs so that we follow Linus's tabbing style. | 371 | * Overrides for Emacs so that we follow Linus's tabbing style. |
382 | * Emacs will notice this stuff at the end of the file and automatically | 372 | * Emacs will notice this stuff at the end of the file and automatically |