Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35837
b: refs/heads/master
c: 01215ad
h: refs/heads/master
i:
  35835: 131d826
v: v3
  • Loading branch information
Andi Kleen authored and Andi Kleen committed Sep 26, 2006
1 parent 5ad38e9 commit ff5a327
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0577f148b5e9a773020e3da1e6332a7c6df9d601
refs/heads/master: 01215ad8d83e18321d99e9b5750a6f21cac243a2
16 changes: 4 additions & 12 deletions trunk/include/asm-i386/mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,10 @@ do { \
\
__asm__ __volatile__( \
LOCK_PREFIX " decl (%%eax) \n" \
" js 2f \n" \
" jns 1f \n" \
" call "#fail_fn" \n" \
"1: \n" \
\
LOCK_SECTION_START("") \
"2: call "#fail_fn" \n" \
" jmp 1b \n" \
LOCK_SECTION_END \
\
:"=a" (dummy) \
: "a" (count) \
: "memory", "ecx", "edx"); \
Expand Down Expand Up @@ -86,14 +82,10 @@ do { \
\
__asm__ __volatile__( \
LOCK_PREFIX " incl (%%eax) \n" \
" jle 2f \n" \
" jg 1f \n" \
" call "#fail_fn" \n" \
"1: \n" \
\
LOCK_SECTION_START("") \
"2: call "#fail_fn" \n" \
" jmp 1b \n" \
LOCK_SECTION_END \
\
:"=a" (dummy) \
: "a" (count) \
: "memory", "ecx", "edx"); \
Expand Down

0 comments on commit ff5a327

Please sign in to comment.