aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-05-06 17:50:57 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 15:13:00 -0400
commit11100b1dfb6e9444d54d38e822753f59ee42a7e6 (patch)
tree59350b393a013cbf6e240ba7985f01694aa83796 /arch/um/include
parent7a3e965abfbdd5abacd29b9a67af91aa31b5f9d3 (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.h1
-rw-r--r--arch/um/include/user_util.h1
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 {
23extern const struct kern_handlers handlinfo_kern; 23extern const struct kern_handlers handlinfo_kern;
24 24
25extern int ncpus; 25extern int ncpus;
26extern char *linux_prog;
27extern char *gdb_init; 26extern char *gdb_init;
28extern int kmalloc_ok; 27extern int kmalloc_ok;
29extern int jail; 28extern 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);
60extern int cont(int pid); 60extern int cont(int pid);
61extern void check_sigio(void); 61extern void check_sigio(void);
62extern void arch_check_bugs(void); 62extern void arch_check_bugs(void);
63extern int cpu_feature(char *what, char *buf, int len);
64extern int arch_handle_signal(int sig, union uml_pt_regs *regs); 63extern int arch_handle_signal(int sig, union uml_pt_regs *regs);
65extern int arch_fixup(unsigned long address, void *sc_ptr); 64extern int arch_fixup(unsigned long address, void *sc_ptr);
66extern void arch_init_thread(void); 65extern void arch_init_thread(void);