From: "Tiwei Bie" <tiwei.btw@antgroup.com>
To: richard@nod.at, anton.ivanov@cambridgegreys.com,
johannes@sipsolutions.net
Cc: <linux-um@lists.infradead.org>, <linux-kernel@vger.kernel.org>,
"Tiwei Bie" <tiwei.btw@antgroup.com>
Subject: [PATCH 1/9] um: Remove UML specific debug parameter
Date: Fri, 11 Oct 2024 12:04:33 +0800 [thread overview]
Message-ID: <20241011040441.1586345-2-tiwei.btw@antgroup.com> (raw)
In-Reply-To: <20241011040441.1586345-1-tiwei.btw@antgroup.com>
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>
---
arch/um/kernel/um_arch.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
index 38cbb41a64bc..6d755a37d5c4 100644
--- a/arch/um/kernel/um_arch.c
+++ b/arch/um/kernel/um_arch.c
@@ -167,19 +167,6 @@ __uml_setup("root=", uml_root_setup,
" root=/dev/ubd5\n\n"
);
-static int __init no_skas_debug_setup(char *line, int *add)
-{
- os_warn("'debug' is not necessary to gdb UML in skas mode - run\n");
- os_warn("'gdb linux'\n");
-
- return 0;
-}
-
-__uml_setup("debug", no_skas_debug_setup,
-"debug\n"
-" this flag is not needed to run gdb on UML in skas mode\n\n"
-);
-
static int __init uml_console_setup(char *line, int *add)
{
have_console = 1;
--
2.34.1
next prev parent reply other threads:[~2024-10-11 4:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-11 4:04 [PATCH 0/9] um: Some parameter cleanups Tiwei Bie
2024-10-11 4:04 ` Tiwei Bie [this message]
2024-10-11 4:04 ` [PATCH 2/9] um: Do not propagate mem parameter to kernel Tiwei Bie
2024-10-11 4:04 ` [PATCH 3/9] um: Do not propagate uml_dir " Tiwei Bie
2024-10-11 4:04 ` [PATCH 4/9] um: Do not propagate dtb " Tiwei Bie
2024-10-11 4:04 ` [PATCH 5/9] um: Do not propagate noreboot " Tiwei Bie
2024-10-11 4:04 ` [PATCH 6/9] hostfs: Do not propagate hostfs " Tiwei Bie
2024-10-11 4:04 ` [PATCH 7/9] um: hostaudio: Do not propagate dsp " Tiwei Bie
2024-10-11 4:04 ` [PATCH 8/9] um: hostaudio: Do not propagate mixer " Tiwei Bie
2024-10-11 4:04 ` [PATCH 9/9] um: Do not propagate initrd " Tiwei Bie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241011040441.1586345-2-tiwei.btw@antgroup.com \
--to=tiwei.btw@antgroup.com \
--cc=anton.ivanov@cambridgegreys.com \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-um@lists.infradead.org \
--cc=richard@nod.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®