PERFORCE change 49940 for review

Marcel Moolenaar marcel at FreeBSD.org
Mon Mar 29 21:22:21 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=49940

Change 49940 by marcel at marcel_nfs on 2004/03/29 21:22:02

	Argh.. actually lock when KDB is not defined.
	
	Spotted by: kan

Affected files ...

.. //depot/projects/gdb/sys/i386/isa/clock.c#4 edit

Differences ...

==== //depot/projects/gdb/sys/i386/isa/clock.c#4 (text+ko) ====

@@ -405,8 +405,8 @@
 
 #ifdef KDB
 	if (!kdb_active)
+#endif
 		mtx_lock_spin(&clock_lock);
-#endif
 
 	/* Select timer0 and latch counter value. */
 	outb(TIMER_MODE, TIMER_SEL0 | TIMER_LATCH);
@@ -416,8 +416,8 @@
 
 #ifdef KDB
 	if (!kdb_active)
+#endif
 		mtx_unlock_spin(&clock_lock);
-#endif
 
 	return ((high << 8) | low);
 }


More information about the p4-projects mailing list