diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-05-06 17:50:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:13:00 -0400 |
commit | 11100b1dfb6e9444d54d38e822753f59ee42a7e6 (patch) | |
tree | 59350b393a013cbf6e240ba7985f01694aa83796 /arch/um/include | |
parent | 7a3e965abfbdd5abacd29b9a67af91aa31b5f9d3 (diff) |
uml: delete unused code
Get rid of a bunch of unused stuff -
cpu_feature had no users
linux_prog is little-used, so its declaration is moved to the
user for easy deletion when the whole file goes away
a long-unused debugging aid in helper.c is gone
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/kern_util.h | 1 | ||||
-rw-r--r-- | arch/um/include/user_util.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/um/include/kern_util.h b/arch/um/include/kern_util.h index 173af029d12b..be850b9ec947 100644 --- a/arch/um/include/kern_util.h +++ b/arch/um/include/kern_util.h | |||
@@ -23,7 +23,6 @@ struct kern_handlers { | |||
23 | extern const struct kern_handlers handlinfo_kern; | 23 | extern const struct kern_handlers handlinfo_kern; |
24 | 24 | ||
25 | extern int ncpus; | 25 | extern int ncpus; |
26 | extern char *linux_prog; | ||
27 | extern char *gdb_init; | 26 | extern char *gdb_init; |
28 | extern int kmalloc_ok; | 27 | extern int kmalloc_ok; |
29 | extern int jail; | 28 | extern int jail; |
diff --git a/arch/um/include/user_util.h b/arch/um/include/user_util.h index 023575f67343..99492d5c82db 100644 --- a/arch/um/include/user_util.h +++ b/arch/um/include/user_util.h | |||
@@ -60,7 +60,6 @@ extern void kill_child_dead(int pid); | |||
60 | extern int cont(int pid); | 60 | extern int cont(int pid); |
61 | extern void check_sigio(void); | 61 | extern void check_sigio(void); |
62 | extern void arch_check_bugs(void); | 62 | extern void arch_check_bugs(void); |
63 | extern int cpu_feature(char *what, char *buf, int len); | ||
64 | extern int arch_handle_signal(int sig, union uml_pt_regs *regs); | 63 | extern int arch_handle_signal(int sig, union uml_pt_regs *regs); |
65 | extern int arch_fixup(unsigned long address, void *sc_ptr); | 64 | extern int arch_fixup(unsigned long address, void *sc_ptr); |
66 | extern void arch_init_thread(void); | 65 | extern void arch_init_thread(void); |