diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-05-06 17:50:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:13:00 -0400 |
commit | b4ffb6ad8d8477b561377ca150bbbfc0db02da54 (patch) | |
tree | 1f10ef5f1b2afc3ea4e991f473f5e5bfe497f608 /arch/um/include | |
parent | a5ed1ffa6c2480cdcf3f0aa945f0b8622fe4e90b (diff) |
uml: host_info tidying
Move the host_info string from util.c to um_arch.c, where it is
actually initialized and used. Also document its lack of locking.
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/include')
-rw-r--r-- | arch/um/include/os.h | 2 | ||||
-rw-r--r-- | arch/um/include/user_util.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h index 5c74da410451..22666b4a8be7 100644 --- a/arch/um/include/os.h +++ b/arch/um/include/os.h | |||
@@ -273,7 +273,7 @@ extern void stack_protections(unsigned long address); | |||
273 | extern void task_protections(unsigned long address); | 273 | extern void task_protections(unsigned long address); |
274 | extern int raw(int fd); | 274 | extern int raw(int fd); |
275 | extern void setup_machinename(char *machine_out); | 275 | extern void setup_machinename(char *machine_out); |
276 | extern void setup_hostinfo(void); | 276 | extern void setup_hostinfo(char *buf, int len); |
277 | extern int setjmp_wrapper(void (*proc)(void *, void *), ...); | 277 | extern int setjmp_wrapper(void (*proc)(void *, void *), ...); |
278 | 278 | ||
279 | /* time.c */ | 279 | /* time.c */ |
diff --git a/arch/um/include/user_util.h b/arch/um/include/user_util.h index 99492d5c82db..73ffea1829fc 100644 --- a/arch/um/include/user_util.h +++ b/arch/um/include/user_util.h | |||
@@ -36,8 +36,6 @@ extern unsigned long end_vm; | |||
36 | extern unsigned long start_vm; | 36 | extern unsigned long start_vm; |
37 | extern unsigned long long highmem; | 37 | extern unsigned long long highmem; |
38 | 38 | ||
39 | extern char host_info[]; | ||
40 | |||
41 | extern unsigned long _stext, _etext, _sdata, _edata, __bss_start, _end; | 39 | extern unsigned long _stext, _etext, _sdata, _edata, __bss_start, _end; |
42 | extern unsigned long _unprotected_end; | 40 | extern unsigned long _unprotected_end; |
43 | extern unsigned long brk_start; | 41 | extern unsigned long brk_start; |