summaryrefslogtreecommitdiffstats
path: root/kernel/debug/kdb/kdb_io.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-27 16:10:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-27 16:10:40 +0200
commit8f8b77bfdce811acbcf2248219a7aab5f92de938 (patch)
treec76c736bdb931d5de55a0de20cd9822d7b48ce8b /kernel/debug/kdb/kdb_io.c
parentstaging: comedi: contec_pci: remove manual legacy attach (diff)
parentLinux 3.6-rc3 (diff)
downloadlinux-8f8b77bfdce811acbcf2248219a7aab5f92de938.tar.xz
linux-8f8b77bfdce811acbcf2248219a7aab5f92de938.zip
Merge 3.6-rc3 into staging-next
This picks up fixes we want in this branch to allow us to properly test. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/debug/kdb/kdb_io.c')
-rw-r--r--kernel/debug/kdb/kdb_io.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/debug/kdb/kdb_io.c b/kernel/debug/kdb/kdb_io.c
index bb9520f0f6ff..0a69d2adc4f3 100644
--- a/kernel/debug/kdb/kdb_io.c
+++ b/kernel/debug/kdb/kdb_io.c
@@ -715,9 +715,6 @@ kdb_printit:
/* check for having reached the LINES number of printed lines */
if (kdb_nextline == linecount) {
char buf1[16] = "";
-#if defined(CONFIG_SMP)
- char buf2[32];
-#endif
/* Watch out for recursion here. Any routine that calls
* kdb_printf will come back through here. And kdb_read
@@ -732,14 +729,6 @@ kdb_printit:
if (moreprompt == NULL)
moreprompt = "more> ";
-#if defined(CONFIG_SMP)
- if (strchr(moreprompt, '%')) {
- sprintf(buf2, moreprompt, get_cpu());
- put_cpu();
- moreprompt = buf2;
- }
-#endif
-
kdb_input_flush();
c = console_drivers;