1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00

Fix a bug with handling of the saved interrupt state for spin mutexes in

the MTX_EXIT_WITH_RECURSION() assembly macro (currently unused).

Submitted by:	bde
This commit is contained in:
John Baldwin 2000-11-13 18:39:18 +00:00
parent 5e8eaa452b
commit af80d322a6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68684
2 changed files with 4 additions and 4 deletions

View File

@ -308,8 +308,8 @@ extern char STR_SIEN[];
js 9f; \
movl %eax,lck+MTX_RECURSE; \
jmp 8f; \
pushl lck+MTX_SAVEINTR; \
9: movl lck+MTX_LOCK,%eax; \
9: pushl lck+MTX_SAVEINTR; \
movl lck+MTX_LOCK,%eax; \
movl $ MTX_UNOWNED,reg; \
MPLOCKED \
cmpxchgl reg,lck+MTX_LOCK; \

View File

@ -308,8 +308,8 @@ extern char STR_SIEN[];
js 9f; \
movl %eax,lck+MTX_RECURSE; \
jmp 8f; \
pushl lck+MTX_SAVEINTR; \
9: movl lck+MTX_LOCK,%eax; \
9: pushl lck+MTX_SAVEINTR; \
movl lck+MTX_LOCK,%eax; \
movl $ MTX_UNOWNED,reg; \
MPLOCKED \
cmpxchgl reg,lck+MTX_LOCK; \