]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - kernel/debug/kdb/kdb_debugger.c
kdb: Don't back trace on a cpu that didn't round up
[linux.git] / kernel / debug / kdb / kdb_debugger.c
index 15e1a7af5dd033f130ef2b4ed96cf1e2809442f5..53a0df6e4d92c9ebf59f1b4471f9be615fd5e904 100644 (file)
@@ -118,13 +118,6 @@ int kdb_stub(struct kgdb_state *ks)
        kdb_bp_remove();
        KDB_STATE_CLEAR(DOING_SS);
        KDB_STATE_SET(PAGER);
-       /* zero out any offline cpu data */
-       for_each_present_cpu(i) {
-               if (!cpu_online(i)) {
-                       kgdb_info[i].debuggerinfo = NULL;
-                       kgdb_info[i].task = NULL;
-               }
-       }
        if (ks->err_code == DIE_OOPS || reason == KDB_REASON_OOPS) {
                ks->pass_exception = 1;
                KDB_FLAG_SET(CATASTROPHIC);