Commit 5b0a7205 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[PATCH] remove unused register from clobber list in down_trylock()

Remove "%d0" register from clobber list of down_trylock() for
m68knommu. It is not used by the asm code here at all.
parent abba5925
...@@ -145,7 +145,7 @@ extern inline int down_trylock(struct semaphore * sem) ...@@ -145,7 +145,7 @@ extern inline int down_trylock(struct semaphore * sem)
".previous" ".previous"
: "=d" (result) : "=d" (result)
: "a" (sem1) : "a" (sem1)
: "%d0", "memory"); : "memory");
return result; return result;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment