summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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