diff options
Diffstat (limited to 'arch/um/kernel/um_arch.c')
-rw-r--r-- | arch/um/kernel/um_arch.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index e2d3ca445ef..27cdf916442 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c | |||
@@ -193,6 +193,24 @@ __uml_setup("root=", uml_root_setup, | |||
193 | " root=/dev/ubd5\n\n" | 193 | " root=/dev/ubd5\n\n" |
194 | ); | 194 | ); |
195 | 195 | ||
196 | #ifndef CONFIG_MODE_TT | ||
197 | |||
198 | static int __init no_skas_debug_setup(char *line, int *add) | ||
199 | { | ||
200 | printf("'debug' is not necessary to gdb UML in skas mode - run \n"); | ||
201 | printf("'gdb linux' and disable CONFIG_CMDLINE_ON_HOST if gdb \n"); | ||
202 | printf("doesn't work as expected\n"); | ||
203 | |||
204 | return 0; | ||
205 | } | ||
206 | |||
207 | __uml_setup("debug", no_skas_debug_setup, | ||
208 | "debug\n" | ||
209 | " this flag is not needed to run gdb on UML in skas mode\n\n" | ||
210 | ); | ||
211 | |||
212 | #endif | ||
213 | |||
196 | #ifdef CONFIG_SMP | 214 | #ifdef CONFIG_SMP |
197 | static int __init uml_ncpus_setup(char *line, int *add) | 215 | static int __init uml_ncpus_setup(char *line, int *add) |
198 | { | 216 | { |