Loading kernel/debug/kdb/kdb_io.c +0 −11 Original line number Original line Diff line number Diff line Loading @@ -715,9 +715,6 @@ int vkdb_printf(const char *fmt, va_list ap) /* check for having reached the LINES number of printed lines */ /* check for having reached the LINES number of printed lines */ if (kdb_nextline == linecount) { if (kdb_nextline == linecount) { char buf1[16] = ""; char buf1[16] = ""; #if defined(CONFIG_SMP) char buf2[32]; #endif /* Watch out for recursion here. Any routine that calls /* Watch out for recursion here. Any routine that calls * kdb_printf will come back through here. And kdb_read * kdb_printf will come back through here. And kdb_read Loading @@ -732,14 +729,6 @@ int vkdb_printf(const char *fmt, va_list ap) if (moreprompt == NULL) if (moreprompt == NULL) moreprompt = "more> "; moreprompt = "more> "; #if defined(CONFIG_SMP) if (strchr(moreprompt, '%')) { sprintf(buf2, moreprompt, get_cpu()); put_cpu(); moreprompt = buf2; } #endif kdb_input_flush(); kdb_input_flush(); c = console_drivers; c = console_drivers; Loading Loading
kernel/debug/kdb/kdb_io.c +0 −11 Original line number Original line Diff line number Diff line Loading @@ -715,9 +715,6 @@ int vkdb_printf(const char *fmt, va_list ap) /* check for having reached the LINES number of printed lines */ /* check for having reached the LINES number of printed lines */ if (kdb_nextline == linecount) { if (kdb_nextline == linecount) { char buf1[16] = ""; char buf1[16] = ""; #if defined(CONFIG_SMP) char buf2[32]; #endif /* Watch out for recursion here. Any routine that calls /* Watch out for recursion here. Any routine that calls * kdb_printf will come back through here. And kdb_read * kdb_printf will come back through here. And kdb_read Loading @@ -732,14 +729,6 @@ int vkdb_printf(const char *fmt, va_list ap) if (moreprompt == NULL) if (moreprompt == NULL) moreprompt = "more> "; moreprompt = "more> "; #if defined(CONFIG_SMP) if (strchr(moreprompt, '%')) { sprintf(buf2, moreprompt, get_cpu()); put_cpu(); moreprompt = buf2; } #endif kdb_input_flush(); kdb_input_flush(); c = console_drivers; c = console_drivers; Loading