linux-mips
[Top] [All Lists]

[PATCH] MIPS: ar7 remove kgdb_enabled

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] MIPS: ar7 remove kgdb_enabled
From: Yoichi Yuasa <yuasa@linux-mips.org>
Date: Fri, 18 Dec 2009 21:20:24 +0900
Cc: yuasa@linux-mips.org, linux-mips <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=kq3ENNo9hy/48x1bXGLLKjO9+8LxxwW7dLgQBXJZWVs=; b=U+r2HUOzirTGP5bvuxltaYNiG2rWXXCkLZghRqRmf/vmWrFUC6EnGpxlF6MNmthbpL UiZQmPFeW8Mz4e7jvZcBxgP9rtN7fVzQtWiwCqmQtdW6z/H9KbxzdVrRkQCv7ZWSLgbU 1uhE7Fo5yMzhSlD4y7eOgJNHDQXhSHzbAE9OU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=XcuWZtM0WoOIrUSiZwyDz0uBpHsYfvfK1jCA33fQMK9vSLwRlHnr2yYzKKLJYCSBsj bHeVIj2rrUruCSKd1x2akSiKmX0CLk05q+eJSEC8FRrvzuRJeTekWmsHN/a8pW1UgF+t aXjLE0glgyF1igzhrafEDZB00+BoVIfEyhWPY=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
kgdb_enabled has not been used.

Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
---
 arch/mips/ar7/prom.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/arch/mips/ar7/prom.c b/arch/mips/ar7/prom.c
index 5ad6f1d..453dd22 100644
--- a/arch/mips/ar7/prom.c
+++ b/arch/mips/ar7/prom.c
@@ -219,14 +219,6 @@ static void __init console_config(void)
        if (strstr(prom_getcmdline(), "console="))
                return;
 
-#ifdef CONFIG_KGDB
-       if (!strstr(prom_getcmdline(), "nokgdb")) {
-               strcat(prom_getcmdline(), " console=kgdb");
-               kgdb_enabled = 1;
-               return;
-       }
-#endif
-
        s = prom_getenv("modetty0");
        if (s) {
                baud = simple_strtoul(s, &p, 10);
-- 
1.6.5.7


<Prev in Thread] Current Thread [Next in Thread>