Skip to content

Commit a34d105

Browse files
btw616jmberg-intel
authored andcommitted
um: Remove UML specific debug parameter
It does nothing but emit a warning when 'debug' is provided in the kernel command line. It can be a bit annoying, as 'debug' is also a valid kernel parameter to enable kernel debugging. Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com> Link: https://patch.msgid.link/20241011040441.1586345-2-tiwei.btw@antgroup.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 188b64f commit a34d105

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

arch/um/kernel/um_arch.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -167,19 +167,6 @@ __uml_setup("root=", uml_root_setup,
167167
" root=/dev/ubd5\n\n"
168168
);
169169

170-
static int __init no_skas_debug_setup(char *line, int *add)
171-
{
172-
os_warn("'debug' is not necessary to gdb UML in skas mode - run\n");
173-
os_warn("'gdb linux'\n");
174-
175-
return 0;
176-
}
177-
178-
__uml_setup("debug", no_skas_debug_setup,
179-
"debug\n"
180-
" this flag is not needed to run gdb on UML in skas mode\n\n"
181-
);
182-
183170
static int __init uml_console_setup(char *line, int *add)
184171
{
185172
have_console = 1;

0 commit comments

Comments
 (0)