Title: [9150] trunk/kernel/kgdb.c: Fix bug[#6189] kgdb: forgot CONFIG_SMP macro in last commit.
- Revision
- 9150
- Author
- sonicz
- Date
- 2010-09-19 23:32:48 -0400 (Sun, 19 Sep 2010)
Log Message
Fix bug[#6189] kgdb: forgot CONFIG_SMP macro in last commit.
Modified Paths
Diff
Modified: trunk/kernel/kgdb.c (9149 => 9150)
--- trunk/kernel/kgdb.c 2010-09-20 03:14:36 UTC (rev 9149)
+++ trunk/kernel/kgdb.c 2010-09-20 03:32:48 UTC (rev 9150)
@@ -1092,8 +1092,10 @@
break;
}
kgdb_contthread = thread;
+#ifdef CONFIG_SMP
if (ks->threadid == shadow_pid(0))
cont_curr_cpu_thread = 1;
+#endif
}
strcpy(remcom_out_buffer, "OK");
break;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits