All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.26 1/25] mdb: Merkey's Kernel Debugger
@ 2008-08-04  2:10 jmerkey
  2008-08-06 10:21 ` Andy Whitcroft
  0 siblings, 1 reply; 2+ messages in thread
From: jmerkey @ 2008-08-04  2:10 UTC (permalink / raw)
  To: linux-kernel

Netware Style Debugger for Linux written by Jeffrey Vernon Merkey

--- linux-2.6.26/arch/x86/kernel/reboot.c	2008-07-13 15:51:29.000000000 -0600
+++ linux-2.6.26-mdb/arch/x86/kernel/reboot.c	2008-08-03
12:49:01.000000000 -0600
@@ -425,7 +425,16 @@
 	/* O.K Now that I'm on the appropriate processor,
 	 * stop all of the others.
 	 */
+#ifdef CONFIG_MDB
+        // do not stop the other processors if the debugger is active +  
     {
+           extern atomic_t inmdb;
+           if (!atomic_read(&inmdb))
+	      smp_send_stop();
+        }
+#else
 	smp_send_stop();
+#endif // CONFIG_MDB
 #endif

 	lapic_shutdown();

By making a contribution to this project, I certify that the contribution
was created in whole or in part by me and I have the right to submit it
under the open source license indicated in the file

Jeffrey Vernon Merkey






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-06 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-04  2:10 [PATCH 2.6.26 1/25] mdb: Merkey's Kernel Debugger jmerkey
2008-08-06 10:21 ` Andy Whitcroft

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.