summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-12-15 08:37:13 +0000
committerkato <kato@FreeBSD.org>1997-12-15 08:37:13 +0000
commit4595f412fe410325da0d4a1a0fd01431495ebb1a (patch)
tree11aa34bf5dcfb91674a16417f394c1a6b3f26ef7 /sys
parent1cbbc7f487d68649869ff979cdb386267fb877e2 (diff)
downloadFreeBSD-src-4595f412fe410325da0d4a1a0fd01431495ebb1a.zip
FreeBSD-src-4595f412fe410325da0d4a1a0fd01431495ebb1a.tar.gz
Sync with sys/i386/i386/microtime.s revision 1.35.
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/i386/microtime.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/pc98/i386/microtime.s b/sys/pc98/i386/microtime.s
index 174ddde..66de237 100644
--- a/sys/pc98/i386/microtime.s
+++ b/sys/pc98/i386/microtime.s
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: Steve McCanne's microtime code
- * $Id: microtime.s,v 1.17 1997/09/08 08:40:53 kato Exp $
+ * $Id: microtime.s,v 1.18 1997/10/29 08:13:32 kato Exp $
*/
#include <machine/asmacros.h>
@@ -267,9 +267,11 @@ common_microtime:
#ifdef USE_CLOCKLOCK
pushl %eax /* s_lock destroys %eax, %ecx */
+ pushl %edx /* during profiling, %edx is also destroyed */
pushl $_clock_lock
call _s_unlock
addl $4, %esp
+ popl %edx
popl %eax
#endif /* USE_CLOCKLOCK */
popfl /* restore interrupt mask */
OpenPOWER on IntegriCloud