summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2000-12-08 19:53:37 +0000
committerjake <jake@FreeBSD.org>2000-12-08 19:53:37 +0000
commit66ed1a203c9a3402bd1232f9af1218dfbc9dd09c (patch)
tree466d62b2388a5bd337772e39c88fd63691fd4a88
parentcbb790a99edb08dc985b06778a2d770ada77ff17 (diff)
downloadFreeBSD-src-66ed1a203c9a3402bd1232f9af1218dfbc9dd09c.zip
FreeBSD-src-66ed1a203c9a3402bd1232f9af1218dfbc9dd09c.tar.gz
Fix a jump to the wrong label, <sigh>. Put a period at the end of a
sentence in a comment. Submitted by: bde
-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 d419b40..8bf6e95 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 d419b40..8bf6e95 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; \
OpenPOWER on IntegriCloud