diff options
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/tt/gdb.c | 4 | ||||
-rw-r--r-- | arch/um/kernel/tt/gdb_kern.c | 2 | ||||
-rw-r--r-- | arch/um/kernel/tt/include/debug.h | 17 |
3 files changed, 6 insertions, 17 deletions
diff --git a/arch/um/kernel/tt/gdb.c b/arch/um/kernel/tt/gdb.c index 19a0ad7b35b3..37e22d71a0d9 100644 --- a/arch/um/kernel/tt/gdb.c +++ b/arch/um/kernel/tt/gdb.c | |||
@@ -153,10 +153,10 @@ void remove_gdb_cb(void *unused) | |||
153 | exit_debugger_cb(NULL); | 153 | exit_debugger_cb(NULL); |
154 | } | 154 | } |
155 | 155 | ||
156 | int gdb_remove(char *unused) | 156 | int gdb_remove(int unused) |
157 | { | 157 | { |
158 | initial_thread_cb(remove_gdb_cb, NULL); | 158 | initial_thread_cb(remove_gdb_cb, NULL); |
159 | return(0); | 159 | return 0; |
160 | } | 160 | } |
161 | 161 | ||
162 | void signal_usr1(int sig) | 162 | void signal_usr1(int sig) |
diff --git a/arch/um/kernel/tt/gdb_kern.c b/arch/um/kernel/tt/gdb_kern.c index 93fb121f86af..26506388a6aa 100644 --- a/arch/um/kernel/tt/gdb_kern.c +++ b/arch/um/kernel/tt/gdb_kern.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #ifdef CONFIG_MCONSOLE | 10 | #ifdef CONFIG_MCONSOLE |
11 | 11 | ||
12 | extern int gdb_config(char *str); | 12 | extern int gdb_config(char *str); |
13 | extern int gdb_remove(char *unused); | 13 | extern int gdb_remove(int n); |
14 | 14 | ||
15 | static struct mc_device gdb_mc = { | 15 | static struct mc_device gdb_mc = { |
16 | .name = "gdb", | 16 | .name = "gdb", |
diff --git a/arch/um/kernel/tt/include/debug.h b/arch/um/kernel/tt/include/debug.h index 8eff674107ca..738435461e13 100644 --- a/arch/um/kernel/tt/include/debug.h +++ b/arch/um/kernel/tt/include/debug.h | |||
@@ -4,8 +4,8 @@ | |||
4 | * Licensed under the GPL | 4 | * Licensed under the GPL |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef __DEBUG_H | 7 | #ifndef __UML_TT_DEBUG_H |
8 | #define __DEBUG_H | 8 | #define __UML_TT_DEBUG_H |
9 | 9 | ||
10 | extern int debugger_proxy(int status, pid_t pid); | 10 | extern int debugger_proxy(int status, pid_t pid); |
11 | extern void child_proxy(pid_t pid, int status); | 11 | extern void child_proxy(pid_t pid, int status); |
@@ -13,17 +13,6 @@ extern void init_proxy (pid_t pid, int waiting, int status); | |||
13 | extern int start_debugger(char *prog, int startup, int stop, int *debugger_fd); | 13 | extern int start_debugger(char *prog, int startup, int stop, int *debugger_fd); |
14 | extern void fake_child_exit(void); | 14 | extern void fake_child_exit(void); |
15 | extern int gdb_config(char *str); | 15 | extern int gdb_config(char *str); |
16 | extern int gdb_remove(char *unused); | 16 | extern int gdb_remove(int unused); |
17 | 17 | ||
18 | #endif | 18 | #endif |
19 | |||
20 | /* | ||
21 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
22 | * Emacs will notice this stuff at the end of the file and automatically | ||
23 | * adjust the settings for this buffer only. This must remain at the end | ||
24 | * of the file. | ||
25 | * --------------------------------------------------------------------------- | ||
26 | * Local variables: | ||
27 | * c-file-style: "linux" | ||
28 | * End: | ||
29 | */ | ||