aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2000-12-08 19:53:37 +0000
committerJake Burkholder <jake@FreeBSD.org>2000-12-08 19:53:37 +0000
commitcc3f51b5373ab21a53d8a3a55f0b9e9ddec5fa7a (patch)
tree6a8050961e57e483f1da2df0583d66a4b1a24681
parent54e4933bad47c88796be1e8e9fe2ada1cc6fcc27 (diff)
Fix a jump to the wrong label, <sigh>. Put a period at the end of a
sentence in a comment. Submitted by: bde
Notes
Notes: svn path=/head/; revision=69773
-rw-r--r--sys/amd64/include/mutex.h4
-rw-r--r--sys/i386/include/mutex.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/include/mutex.h b/sys/amd64/include/mutex.h
index d419b400035a..8bf6e953c336 100644
--- a/sys/amd64/include/mutex.h
+++ b/sys/amd64/include/mutex.h
@@ -258,7 +258,7 @@ extern char STR_SIEN[];
#else /* !LOCORE */
/*
- * Simple assembly macros to get and release spin locks
+ * Simple assembly macros to get and release spin locks.
*/
#if defined(I386_CPU)
@@ -307,7 +307,7 @@ extern char STR_SIEN[];
7: movl $ MTX_UNOWNED,%eax; \
MPLOCKED \
cmpxchgl reg,lck+MTX_LOCK; \
- jnz 9b; \
+ jnz 7b; \
popl lck+MTX_SAVEINTR; \
jmp 9f; \
8: add $4,%esp; \
diff --git a/sys/i386/include/mutex.h b/sys/i386/include/mutex.h
index d419b400035a..8bf6e953c336 100644
--- a/sys/i386/include/mutex.h
+++ b/sys/i386/include/mutex.h
@@ -258,7 +258,7 @@ extern char STR_SIEN[];
#else /* !LOCORE */
/*
- * Simple assembly macros to get and release spin locks
+ * Simple assembly macros to get and release spin locks.
*/
#if defined(I386_CPU)
@@ -307,7 +307,7 @@ extern char STR_SIEN[];
7: movl $ MTX_UNOWNED,%eax; \
MPLOCKED \
cmpxchgl reg,lck+MTX_LOCK; \
- jnz 9b; \
+ jnz 7b; \
popl lck+MTX_SAVEINTR; \
jmp 9f; \
8: add $4,%esp; \